CSS warnings

liunx

Guest
Hi-<br />
<br />
So I went out and had my .css page validated and then returned results came back validated, but a few paragraphs down the page, I got the following warning:<br />
<br />
<br />
Line : 218 Level : 1 Same colors for background-color and border-right-color : .headertable-event-2 <br />
Line : 218 Level : 1 Same colors for background-color and border-left-color : .headertable-event-2 <br />
Line : 218 Level : 1 Same colors for background-color and border-bottom-color : .headertable-event-2 <br />
Line : 218 Level : 1 Same colors for background-color and border-top-color : .headertable-event-2 <br />
Line : 238 Level : 1 Same colors for background-color and border-bottom-color : .headertable-event-3 <br />
Line : 238 Level : 1 Same colors for background-color and border-top-color : .headertable-event-3 <br />
Line : 238 Level : 1 Same colors for background-color and border-left-color : .headertable-event-3 <br />
Line : 238 Level : 1 Same colors for background-color and border-right-color : .headertable-event-3 <br />
<br />
<br />
Any idea what will fix this? Because I don't have individual colors set for each side of the borders as it suggests.<br />
<br />
Thanks, <br />
Gandalf<br />
:D<!--content-->Can you post the actual css you are using for the .headertable-event-2 and .headertable-event-3?<!--content-->.headertable-event-2<br />
{<br />
text-align: left;<br />
letter-spacing: normal;<br />
word-spacing: normal;<br />
font-family: arial, helvetica, sans-serif;<br />
font-weight: bold;<br />
font-style: normal;<br />
font-size: 105%;<br />
text-decoration: none;<br />
text-indent: 0px;<br />
font-variant: normal;<br />
border-width: 1px;<br />
border-style: solid;<br />
border-color: white;<br />
margin-left: 0%;<br />
color: #336699;<br />
background-color: white;<br />
}<br />
<br />
.headertable-event-3<br />
{<br />
text-align: center;<br />
letter-spacing: normal;<br />
word-spacing: normal;<br />
font-family: arial, helvetica, sans-serif;<br />
font-weight: bold;<br />
font-style: normal;<br />
font-size: 105%;<br />
text-decoration: none;<br />
text-indent: 0px;<br />
font-variant: normal;<br />
border-width: 1px;<br />
border-style: solid;<br />
border-color: white;<br />
margin-left: 0%;<br />
color: #336699;<br />
background-color: white;<br />
}<!--content-->Originally posted by Thee Gandalf <br />
border-color: white;<br />
background-color: white;<br />
So these are the two that it is hanging on. Don't know why having them the same color would bug it or not? Weird.<!--content-->It is complaining that your border is set the same colour as your background, which means that your border does not show up as a border. And, yeah, sometimes these colour clashes are real important: blue writing on a blue background, that on hover stays as blue writing isn't very usable, for example.<!--content-->Ya know what? I probably meant to set the border-width to 0px and just forgot. I'm betting on that will kick it. The day is over for me. I'll try it tomorrow.<br />
<br />
Thanks all,<br />
G<br />
:D<!--content-->
 
Back
Top