HTML5 APPLICATIONS DEVELOPMENT MANUAL

(lu) #1

16 - Layouts


The User Interface (UI)


The portion of a Web page where users interact is called the user


interface (UI).


The layout of a user interface will dramatically impact a user


experience.


Layouts can range from minimalist with just a few elements, to pages


that are jammed full of content. Simple layouts and complex layouts require


different models to ensure that content displays properly for users.


To help ensure that CSS3 styles work during this transition phase,


many of the major Web browsers offer alternative property names. These


workarounds simply add avendor prefix, which is a keyword surrounded by


dashes, to the front of a CSS3 property name. Keep the following in mind as


you work with CSS3 properties:



  • Internet Explorer uses the -ms- prefix.

  • Firefox supports the -moz- prefix.

  • Opera supports the -o- prefix.

  • Chrome and Safari support the -webkit- prefix.

Free download pdf