I'm getting the following W3C CSS validation warning:
"You have no background-color with your color"
The problem is that it's for link text which may be on different backgrounds, one of which is a graduated image. I'd like the background of the text to be transparent so I don't really want to specify a background colour for it at all but I do want to specify the colour of the text so I do need to specify the color attribute. Unfortunately, that doesn't seem possible. Am I asking too much? Is this not an issue with W3C's CSS validation that it can't accept that link text may need to be placed over different backgrounds?
I can't even set the following:
background-color: transparent;
While this is valid CSS (the default bg colour for an element is "transparent"), the validator still seems to demand a solid colour
"You have no background-color with your color"
The problem is that it's for link text which may be on different backgrounds, one of which is a graduated image. I'd like the background of the text to be transparent so I don't really want to specify a background colour for it at all but I do want to specify the colour of the text so I do need to specify the color attribute. Unfortunately, that doesn't seem possible. Am I asking too much? Is this not an issue with W3C's CSS validation that it can't accept that link text may need to be placed over different backgrounds?
I can't even set the following:
background-color: transparent;
While this is valid CSS (the default bg colour for an element is "transparent"), the validator still seems to demand a solid colour
Last edited: