css validation warnings re. color

This is a discussion on "css validation warnings re. color" within the Web Page Design section. This forum, and the thread "css validation warnings re. color are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 29th, 2006, 12:10
Reputable Member
Join Date: Mar 2006
Location: UK
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
css validation warnings re. color

On validating my CSS files I get tons of WARNINGS!
"No background-color with your color" and "No color with your background-color".

Do I really have to specify both of these properties for every element?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 29th, 2006, 15:27
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css validation warnings re. color

You do if you want to use the W3C validated logo on your pages.

I know it can be a bit of a trial but it's basically to make sure you haven't forgot something.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 29th, 2006, 16:48
Reputable Member
Join Date: Mar 2006
Location: UK
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css validation warnings re. color

Hmmm...can I be bothered? Sounds like its not absolutely necessary.
Thanks Geoff.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Oct 30th, 2006, 14:18
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: css validation warnings re. color

useless warnings that mean nothing.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Oct 30th, 2006, 18:07
Reputable Member
Join Date: Mar 2006
Location: UK
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css validation warnings re. color

well I'm glad you said that!I guess it won't affect my pages' accessibility then?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Oct 30th, 2006, 19:15
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css validation warnings re. color

It won't effect your pages accessibility necessarily, but...

Remember that these colour attributes are inherited so if you only set a background colour, for example, at the <body> level, then that will be the background colour for everything.

Now at some point on your page, you may choose a foreground colour, that when taken with that background colour, do not meet accessibility requirements in terms of colour contrast etc.

Personally, I think that is the main reason for always specifying both as it ensures, as I said previously, that you haven't missed anything.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
background color, color

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Color in browsers wireman54301 Web Page Design 5 Nov 25th, 2006 02:08
link color somsahi Web Page Design 3 Aug 25th, 2006 17:02
background color kaz Web Page Design 4 Aug 4th, 2005 17:28
background color kaz Web Page Design 1 Apr 20th, 2005 11:43
table color? Monie Classic ASP 16 Oct 12th, 2004 02:48


All times are GMT. The time now is 09:53.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved