homepage Welcome to WebmasterWorld Guest from 54.237.98.229
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
RGB Color Values in CSS
Browser support?
Nick_W

WebmasterWorld Senior Member nick_w us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 614 posted 10:03 am on Feb 12, 2003 (gmt 0)

Can anyone fill me in on browser support for rgb values in CSS?

Like this:

color: rgb(255,0,0);

Many thanks...

Nick

 

BlobFisk

WebmasterWorld Senior Member blobfisk us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 614 posted 10:37 am on Feb 12, 2003 (gmt 0)

Hi Nick,

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.

HTH.

Nick_W

WebmasterWorld Senior Member nick_w us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 614 posted 10:41 am on Feb 12, 2003 (gmt 0)

Thanks Blobfisk,

I've been messing with it in NN4 and that horrid little thing also does a good job ;)

Thanks...

Nick

BlobFisk

WebmasterWorld Senior Member blobfisk us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 614 posted 10:53 am on Feb 12, 2003 (gmt 0)

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!

Nick_W

WebmasterWorld Senior Member nick_w us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 614 posted 10:58 am on Feb 12, 2003 (gmt 0)

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

Nick

victor

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 614 posted 11:17 am on Feb 12, 2003 (gmt 0)

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)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved