Openwave Mobile Browser 7.0: XHTML Mobile Profile and CSS Reference

Section 14 out of 38 total sections
Current chapter: CSS Reference

2: CSS Reference

This chapter describes Cascading Style Sheet (CSS) selectors, properties, and other components and how to use them with Openwave Mobile Browser 7.0.

The properties are described in separate sections (properties that control the presentation of fonts, backgrounds, and so on) after sections that introduce the syntax of CSS, the use of style sheets in XHTML-MP documents, a reference to the CSS selectors supported by Openwave Mobile Browser, and other introductory information.

Openwave Mobile Browser 7.0 support the Open Mobile Alliance (OMA) Wireless CSS (WCSS) specification, which describes an extended subset of the World Wide Web Consortium (W3C) CSS2 specification. For more information about WCSS, visit the OMA web site: http://www.openmobilealliance.org. For more information about CSS2, visit the W3C web site: http://www.w3.org.

IMPORTANT  CSS offers nearly unlimited ways to control the display of XHTML-MP documents, but you should use that capability prudently: The more complicated your CSS rules and the more elaborate your manipulation of the style cascade, the more processing power required. Because cell phones have far less processing power than PCs, elaborate style sheets that work on a PC browser or mobile phone simulator may cause performance problems on real phones. Always test your applications on real phones.