You are here: Re: Abbreviating colour instructions... « HTML « IT news, forums, messages
Re: Abbreviating colour instructions...

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.)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация