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 (ExpandCollapse)

What do you think about this web page?






(Optional) Please provide us more details. For example, suppose you select option 2 above, can you tell us specifically what information is missing? You can also suggest anything that can help us improve this web page.

(Optional) Your name:

(Optional) Your email address:

Please enter again to confirm:

Due to the amount of messages we received, we may not be able to reply to all messages.

A button for going back to the top of this page