![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Ok, I get the thing about specifying color and background-color together. So I specify: background-color: transparent; in my CSS file. And I still get the warning. The CSS file is: http://ed.mullen.home.comcast.net/styles/ahs.css The warning is: Line : 41 (Level : 1) You have no background-color with your color : #logo_1 If I specify a color (e.g. #fff the warning goes away. So, istransparent an illegal value? Doesn't seem to be according to: http://www.w3.org/TR/REC-CSS2/colors.html http://www.w3schools.com/css/pr_background-color.asp Color me confused. |
#3
| |||
| |||
|
|
Ed Mullen wrote: Ok, I get the thing about specifying color and background-color together. So I specify: background-color: transparent; in my CSS file. And I still get the warning. The CSS file is: http://ed.mullen.home.comcast.net/styles/ahs.css The warning is: Line : 41 (Level : 1) You have no background-color with your color : #logo_1 If I specify a color (e.g. #fff the warning goes away. So, istransparent an illegal value? Doesn't seem to be according to: http://www.w3.org/TR/REC-CSS2/colors.html http://www.w3schools.com/css/pr_background-color.asp Color me confused. Ed, Transparent is valid, but does not resolve the validator's concern that the user may have assigned a background color which is incompatible with your new foreground color. It's a warning, not an error. If transparent is appropriate to your situation, leave it. Chris Beall |
![]() |
| Thread Tools | |
| Display Modes | |
| |