|
Posted by Bergamot on 03/17/07 15:54
scripts.contact@gmail.com wrote:
> On Mar 17, 7:07 am, "Jonathan N. Little" <lws4...@centralva.net>
> wrote:
>>
>> background-color: #xxxxxx
>
> and color names are also valid like-
> red,black,lime,green etc.
Note that CSS 2.1 only has 16 valid color names.
http://www.w3.org/TR/CSS21/syndata.html#color-units
The big X11 list of colors is supposedly part of the CSS3 spec. While
they may be widely supported already, using a hex or rgb value is more
reliable. Besides, graphics editors tend to require numeric references.
--
Berg
Navigation:
[Reply to this message]
|