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.
|
|
|
|
|
![]() |
||
css validation warnings re. color
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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? |
|
|
|
|||
|
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. |
|
|||
|
Re: css validation warnings re. color
Hmmm...can I be bothered? Sounds like its not absolutely necessary.
Thanks Geoff. |
|
||||
|
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)
|
|
|||
|
Re: css validation warnings re. color
well I'm glad you said that!I guess it won't affect my pages' accessibility then?
|
|
|||
|
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. |
![]() |
| Tags |
| background color, color |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Color in browsers | wireman54301 | Web Page Design | 5 | Nov 25th, 2006 01: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 |