You are here: Re: Mozilla color question « HTML « IT news, forums, messages
Re: Mozilla color question

Posted by cwdjrxyz on 11/18/06 04:09

Trefor wrote:
> I'm using Mozilla 1.7.12 and have a question about colors
> which do not seem to be correct. In the web page which
> I am developing I have used tables to create a border
> effect around objects. Within the table code I have :
> bordercolor="saddlebrown" bordercolorlight="rosybrown"
> This looks great against my chosen background in both
> HTMLpad 2006 (my HTML editor program) and also in IE 1.6
> the colors are displayed the same.
> But under Mozilla or Firefox they are changed.
> The rosybrown is no longer rosy but a light tan.
> The saddlebrown is almost black.
> Would specifying the color by number make any diff ?
> I suspect not. I can't find any option to tell
> Mozilla to stop that and use the colors defined.
> What can a guy do now ????? Trefor

Use either hex numbers or r,g,b ones for colors, epecially those with
complex names. Name colors did not always work the same in the browser
war era, and some of them may well not today also. There likely was
never official standardization of many name colors by the W3C, and
these days this would not be very practical, as millions of colors now
are possible on modern browsers. You may have to experiment to get the
numbers for the shade of color you wish. There are various color charts
out there with numbers given, so you likely can get close to a color
and then just have to adjust it a bit. Some find r,g,b colors easier to
use for fine adjustments than hex ones, although hex ones are no more
difficult if you get used to counting in a hex number system.

 

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

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