|
Posted by mbstevens on 08/04/05 13:39
Neredbojias wrote:
> With neither quill nor qualm, dorayme quothed:
>
>
>>In HTML 4.01 Strict and in CSS, is there any reason not to abbreviate
>>the construction #xxyyzz to #xyz? For example #ffffff to #fff
>>
>>Basically, is browser support perfect for this?
>
>
> Talk about lazy...
>
Lazy is good.
Keeps the code looking cleaner. I almost always abbreviate.
You still have a huge choice of color, and it allows making
reasonable adjustments easier when you're trying to find
colors that work together on a page. I think any finer
granulation would only be necessary if you were doing photo
touchup or the like.
In answer to doreme's question, I know browser support isn't
perfect. I have a hell of a time seeing abbreviated colors
in Lynx and Links, ;) but it seems to work fine in Konqueror,
Epiphany, Galeon, Firefox, Mozilla, IE, and Opera.
--
mbstevens
http://www.mbstevens.com/critique.tar.gz Linux/Unix
http://www.mbstevens.com/critiqueWIN.zip Windows
(Python script aid for critiquers.)
[Back to original message]
|