[EMAIL PROTECTED] wrote:
 > I have the following;
 >
 > #footer a:link {
 >    background-color : transparent;    color : #ffffff; }
 >
 > I use the W3C CSS Validation and it gives the warning;
 >
 > Line : 211 (Level : 1) You have no background-color with your color :
 > #footer a:link
 >
 > And yet there is a background-color, it's just transparent. I 
understand
 > that it is only a warning, but does the validator not recognize
 > transparent as a color? I have several of the background-color 
warnings,
 > but I am supposing that the css is still valid, right?

It's valid, but I think the reason you get the warning is that setting 
background to transparent might mean that your text will be invisible, 
if for example, a user overrides your background colors with their own.

I've also experienced problems where white text over a dark background 
image disappears when text is resized and it no longer sits over the 
image, if you see what I mean.

It's a check point - if you're happy it doesn't cause a problem, then 
it's okay.

As a side issue, why declare it as transparent when transparent is the 
default?  (topstyle user? - BTDT  ;o)   )



-- 
Join me: http://wiki.workalone.co.uk/
Thank me: http://www.amazon.co.uk/gp/registry/1VK42TQL7VD2F
Engage me: http://www.boldfish.co.uk/portfolio/


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to