From: trevor bayliss <[email protected]>

 is it impossible to condense this code? (As the borders are different I 
imagine it is) Thanks:
>
>BORDER-RIGHT: #333 0px solid; 
>BORDER-TOP: #333 0px solid; 
>BORDER-LEFT: #333 0px solid; 
>BORDER-BOTTOM: #fff 5px solid;

If you are overriding previous borders, one way would be the following in the 
order specified.

element-selector {border: none;}

element-selector {border-bottom: 5px solid #fff;}

(where element-selector is whatever element you are selecting).

Otherwise, if no border has been previously specified for the element, you 
could simply use - 

element-selector {border-bottom: 5px solid #fff;}

with no reference to the other borders.

~holly 
 
                   
______________________________________________________________________
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