W3C home > Mailing lists > Public > www-validator-css@w3.org > October 2001

[www-validator-css] <none>

From: Peter L. Kantor <kantor@daaq.net>
Date: Wed, 10 Oct 2001 12:46:05 -0400
To: www-validator-css@w3.org
Message-Id: <200110101228656.SM00449@012345>
Since when did hexadecimal values cease to be a valid way to specify colors?  Also, the "font-weight" error does not exist in the code.  
There is no "font-weight: 1.2em;" nor is there a place anywhere in the code where a missing semi-colon might mimick this error.

Peter K.

----------

W3C CSS Validator Results for file://localhost/main_page.css
To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.
Errors
URI : file://localhost/main_page.css
Line: 160 Context : code
Invalid number : font-weight1.2em is not a font-weight value
 : 1.2em
Warnings
URI : file://localhost/main_page.css
Line : 11 Level : 1 You have no background-color with your color : a:link
Line : 12 Level : 1 You have no background-color with your color : a.external:link
Line : 13 Level : 1 You have no color with your background-color : a:hover
Line : 14 Level : 1 You have no color with your background-color : .mainmenu a:hover
Line : 15 Level : 1 You have no background-color with your color : a:active
Line : 16 Level : 1 You have no background-color with your color : a:visited
Line : 22 Level : 1 You have no background-color with your color : th
Line : 68 Level : 1 You have no background-color with your color : .certs
Line : 131 Level : 1 You have no color with your background-color : .menu
Line : 141 Level : 1 You have no background-color with your color : .notice
Line : 148 Level : 1 You have no background-color with your color : .pullquote
Line : 159 Level : 1 You have no background-color with your color : code
Line : 180 Level : 1 You have no background-color with your color : .redtext
Line : 181 Level : 1 You have no background-color with your color : .warning
Line : 194 Level : 1 You have no color with your background-color : .headcell
Line : 200 Level : 1 You have no color with your background-color : .clascell
Line : 206 Level : 1 You have no color with your background-color : .clascell2
Line : 212 Level : 1 You have no color with your background-color : .oficcell
Line : 222 Level : 1 You have no background-color with your color : th
Valid CSS informations
body {
background-color : #ffffcc;
font-family : Verdana, Arial Unicode MS, Arial, sans-serif;
color : #000000;
font-size : 0.8em;
}
a:link {
color : #000099;
}
a.external:link {
color : #004400;
}
a:hover {
background-color : #ffff66;
}
.mainmenu a:hover {
background-color : #ddddaa;
}
a:active {
color : #ff0000;
}
a:visited {
color : #660066;
}
p , ul , ol , dl , h1 , h2 , h3 , h4 , h5 , h6 , td , th {
color : #000000;
font-family : Verdana, Arial Unicode MS, Arial, sans-serif;
}
h3 {
margin-top : 2em;
margin-bottom : 0.5em;
}
h2 + h3 {
margin-top : 0;
}
p {
margin-top : 0.5em;
margin-bottom : 0.5em;
line-height : 1.2em;
}
dt {
font-weight : 600;
}
dd {
line-height : 1em;
}
li {
margin-top : 0;
margin-bottom : 0;
}
ul {
list-style : circle;
}
.menuimg {
position : absolute;
top : 5px;
left : 5px;
z-index : 1;
}
.mainmenu {
position : absolute;
top : 10px;
left : 5px;
width : 200px;
height : 590px;
font-family : Verdana, Arial Unicode MS, Arial, sans-serif;
font-weight : bold;
z-index : 2;
}
.mainmenu p {
margin-left : 5px;
font-family : Verdana, Arial Unicode MS, Arial, sans-serif;
}
.mainmenu h3 {
margin-left : 5px;
}
.certs {
color : #000066;
width : 100px;
float : right;
text-align : right;
}
.certs p {
font-size : 0.8em;
}
.mainbar {
margin-left : 225px;
margin-right : 5%;
}
.restoftext {
margin-left : 10%;
margin-right : 10%;
}
table {
font-size : 1em;
}
img {
border : 0 none ;
}
h1 {
border-bottom : 2px solid #660000;
text-align : right;
margin-top : 0;
margin-right : 10px;
margin-bottom : 0;
line-height : 1.5em;
font-family : Verdana, Arial Unicode MS, Arial, sans-serif;
font-size : 2em;
}
h2 {
border-bottom : 2px solid #660000;
text-align : right;
margin-top : 0;
margin-right : 10px;
text-shadow : 0.3em 0.3em 0.1em;
line-height : 1.5em;
}
.faqh3 {
border-bottom : 1px solid #660000;
font-family : Verdana, Arial Unicode MS, Arial, sans-serif;
}
h4 {
margin-bottom : 0;
}
h4 + p {
margin-top : 0;
}
.streamline {
line-height : 0;
margin : 0;
}
.menu {
text-align : center;
border : 1px solid #660000;
background-color : #cccc99;
font-size : 0.8em;
line-height : 1.5em;
}
.notice {
font-size : 0.8em;
color : #330000;
font-weight : 500;
font-family : Verdana, Arial, sans-serif;
text-align : center;
}
.pullquote {
color : #000066;
text-align : right;
border : 1px solid #660000;
padding : 5px;
font-size : 0.8em;
width : 250px;
float : right;
}
code {
color : #660000;
font-family : Courier New, Courier, monospace;
}
pre {
color : #660000;
border : 1px solid #660000;
padding : 10px;
background-color : #cccccc;
font-family : Courier New, Courier, monospace;
}
.example {
color : #000099;
border : 1px solid #660000;
padding : 10px;
background-color : #ffffff;
}
.redtext {
color : #aa0000;
font-weight : bold;
}
.warning {
font-weight : bold;
color : #990000;
}
.center {
text-align : center;
}
.tight {
margin-top : 0;
list-style-type : circle;
}
.timegrid {
width : 500px;
margin : auto;
}
.timegrid td {
width : 20%;
}
.timegrid p {
margin : 0;
}
.headcell {
font-size : 0.8em;
background-color : #cccccc;
}
.clascell {
font-size : 0.8em;
background-color : #aaaaff;
}
.clascell2 {
font-size : 0.8em;
background-color : #ccaacc;
}
.oficcell {
font-size : 0.8em;
background-color : #aaffaa;
}
@media print {
.mainbar {
font-size : 1em;
margin-right : 0;
margin-left : 175px;
}
p , ul , ol , dl , h1 , h2 , h3 , h4 , h5 , h6 , td , th {
color : #000000;
font-family : Century Gothic, Arial, sans-serif;
}
code {
font-size : 1em;
}
.menu {
font-size : 0.8em;
}
.mainmenu {
display : none;
}
.menuimg {
display : none;
}
.mainbar {
margin-left : 5%;
margin-right : 5%;
}
}
Received on Wednesday, 10 October 2001 12:40:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:01 GMT