Kim Brooks Wei wrote:

> When I use a compound border declaration
>
> a:hover { border-bottom: 1px dotted #6681aa;
> }
>
> can I leave off the color value, or must I include it?

By the syntax, it can be omitted, but this still means setting 
border-bottom-color to a specific value, namely the value of the color 
property for the element. Ref.:
http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties

If you do not want to set it (but let the property have the value that is 
set elsewhere, e.g. in your stylesheet when it sets border colors for links 
in general), don't use the border-bottom shorthand. You can set 
border-bottom-width and border-bottom-style separately.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to