| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|RGB Color Values in CSS|
Can anyone fill me in on browser support for rgb values in CSS?
As far as I know, this is very well supported. I've tested it in Mozilla 1.0, NN7, and IE5, IE5.5 and IE6 and it works like a dream.
I've been messing with it in NN4 and that horrid little thing also does a good job ;)
Interesting about NN4.x. I am surprised! It does seem to handle colours ok, but any time I try to apply pseudo-class colours it just falls down and tells me where to go!
Yes, I misspelt fuchsia and it didn't display the text at all! - I think we can say it's well supported but one should apply a little caution when handling the beast ;)
The Eric Meyer book "CSS 2.0 Programmer's Reference" has a pretty comprehensive chart of browser quirks.
All the browsers it lists have an unqualified Yes against Color support.
The usual caveats apply -- bad code will be interpreted differently by each browser. Don't expect the same color if you code
color: rgb(500, -50, 25.5)
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved