Previous Message
Next Message

CSS Specifying HEX Color Codes?

Sent by Lonnie on 15 November 2003 23:11


> >HEX COLORS: is #fff better than #ffffff ?
> 
> No,it's worse. It is a special-case abbreviation that saves someone 
> three keystrokes to produce code that is harder for someone else to 
> maintain because, as in your case, they don't understand it.

Oh Please!

It follows then that:

border:1px solid #fff;

should be:

border-top-width:1px;
border-top-style:solid;
border-top-color:#ffffff;
border-left-width:1px;
border-left-style:solid;
border-left-color:#ffffff;
border-bottom-width:1px;
border-bottom-style:solid;
border-bottom-color:#ffffff;
border-left-width:1px;
border-left-style:solid;
border-left-color:#ffffff;

....so that the next guy/gal that comes along can understand it?

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: