Sent by Veine K Vikberg on 9 February 2003 23:11
--=======3B1F6B7B=======
Content-Type: text/plain; x-avg-checked=avg-ok-677A6901; charset=us-ascii;
format=flowed
Content-Transfer-Encoding: 8bit
Hello Tim;
<snip>
>Hello. I'm learning CSS gradually and saw a recent example stylesheet
>where a background color is shown as #333
>I'm accustomed to something like #000333, but that's not the same color
>as #333 (neither is #333000). can someone explain how a css stylesheet
>defines a color like #333, which appears as a grey background in the
>html file
</snip>
It is css shorthand, which I am not using myself at all, #333 would be
#333333, #ec0 would be #eecc00, ie, just add the first as second, the third
as fourth and the fifth as sixth.
I use full hex code for two reasons, one easier to remember and not mess
up, secondly, gives me a lot more colors to play with ;o)
HTH
~Veine
Veine K Vikberg
http://www.vikberg.net
Professional Web Guru
--=======3B1F6B7B=======--