SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 44 | Next

Nirav Mehta

"Mobile Web Development"


This will make it easier for browsers that load CSS once content is loaded and apply
formating after that.
Once you have got this far, the next step is to add an alternative CSS to be used
when the site is accessed from a handheld device. This solution is a recommended
approach for many simple needs. It also adheres to the W3C principle of Device
Independence??”delivering the same content to any device. Luigi thinks this can be
a good way to start his mobile site??”in any case most of the current site is based on
CSS, so he just needs to add an extra CSS file!
Here's how you can add an alternative stylesheet link in your XHTML page:
href="mobile.css">
Notice the use of media attribute. It tells the browser to use this CSS only if it is a
handheld browser.
??? ??? ??? ??? ???
Chapter 2
[ 27 ]
Wireless CSS
Wireless CSS (WCSS) is a special derivative of CSS for mobile devices. It supports
most of the CSS 2 properties, and contains some additional properties for mobile
devices. These include some animation effects and input formatting rules. We will
learn more about WCSS in the next chapter.


Pages:
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6