effpeetee
10-23-2007, 01:38 PM
The validator takes exception to some of the following css.
Generally about colour info missing.
I did not write this code, but it has worked faultlessly.
Any pointers as to what would make w3 validator happy?
Frank
#content {
float: left;
font: 10px Arial, Helvetica, sans-serif;
text-decoration: none;
width: 20%;
margin-top: 50px;
margin-left: 26px;
padding: 5px;
text-align: left;
}
#links {
clear: left;
color: white;
font: 10px Arial, Helvetica, sans-serif;
line-height: 1.2;
}
#links ul {
margin: 0;
padding-left: 3px;
color: white;
list-style: none;
}
#links ul li {
padding-left: 20px;
}
#links ul a {
color: white;
font-size: 1.3em;
font-weight: normal;
text-decoration: none;
}
#links ul a:hover {
text-decoration: underline;
}
#footer {}
h1 {
color: #f00;
text-align: center;
}
#cap {
font-size: 50px;
color: #FF0;
font-weight: bold;
float: left;
height: 34px;
line-height: 24px;
margin-top: 2px;
margin-right: 1px;
}
* html #cap {
margin-right: -2px;
margin-top: 3px;
}
#valids {
clear: both;
margin: auto;
width: 176px;
padding: 2px;
}
Generally about colour info missing.
I did not write this code, but it has worked faultlessly.
Any pointers as to what would make w3 validator happy?
Frank
#content {
float: left;
font: 10px Arial, Helvetica, sans-serif;
text-decoration: none;
width: 20%;
margin-top: 50px;
margin-left: 26px;
padding: 5px;
text-align: left;
}
#links {
clear: left;
color: white;
font: 10px Arial, Helvetica, sans-serif;
line-height: 1.2;
}
#links ul {
margin: 0;
padding-left: 3px;
color: white;
list-style: none;
}
#links ul li {
padding-left: 20px;
}
#links ul a {
color: white;
font-size: 1.3em;
font-weight: normal;
text-decoration: none;
}
#links ul a:hover {
text-decoration: underline;
}
#footer {}
h1 {
color: #f00;
text-align: center;
}
#cap {
font-size: 50px;
color: #FF0;
font-weight: bold;
float: left;
height: 34px;
line-height: 24px;
margin-top: 2px;
margin-right: 1px;
}
* html #cap {
margin-right: -2px;
margin-top: 3px;
}
#valids {
clear: both;
margin: auto;
width: 176px;
padding: 2px;
}