16. WAP Specific Extensions to CSS

WAP CSS includes some WAP specific extensions to web CSS2, which means some properties are defined in WAP CSS but not in web CSS2. These WAP specific extensions are very useful for mobile Internet browsing applications. The WCSS properties in the extensions can be grouped into the following three categories:

  1. Access key -- This category contains only one WCSS property: -wap-accesskey. This WCSS property is used to specify a shortcut key for an XHTML MP element.

  2. Input -- The WCSS properties in this category are used to specify whether a text field can be left empty and what type and how many characters can be entered in a text field.

  3. Marquee -- The WCSS properties in the marquee category are used to scroll some content across the screen. For example, if you have a line of text that is wider than the screen width, you can make use of the WCSS properties in the marquee category to generate a text scrolling effect instead of displaying the text on multiple lines.

Previous Page Page 24 of 39 Next Page

Feedback Form (Expand)

What do you think about this web page?