css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

CSS ACCELERATOR

This property is a strange and very specific Microsoft beast. Microsoft, beginning in Windows 2000, has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed (then the accelerator underline hint is displayed.) This property should have no effect in previous Microsoft OS versions, and if this system capability is turned off (or “on”, depending on how you look at it), it will also have no effect.

While this works for underlined elements (the HTML “U” element), it also seems to work for any element, although a different pseudo-underline color seems to be generated in such cases.

 

Example

u { accelerator: true }

<div><u style=”accelerator: true”>H</u>elp </div>

 

Possible Values

Value Description
true The element contains an accelerator key sequence.
false The element does not contain an accelerator key sequence.

 

2 Responses

  1. nicks says:

    I don’t understand what is the basic different b/w this & simple element in html.
    Don’t they work like the same??
    please clarify my doubts.

  2. HI,
    I have tried this. But its not working. Can u please show me the demo?

Leave a Reply

Pages

Sponsors


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 2189 access attempts in the last 7 days.