crusoe
05-09-2006, 12:59 AM
Im validating my CSS and im getting 3 errors...and i cant think of how to fix them.
this is my css (the parts that the validator is iffy about)
CSS
img.left{
padding:3px 5px 5px 0px;
align:left;
}
#nav a {
float; left;
display: block;
margin:0 1px 0 0;
padding: 4px 8px 0 0;
color:#333;
text-decoration:none;
border: 1px solid #000000;
border-bottom:none;
background:#ffffff url(images/onbg.png) repeat-x top left;
}
And these are the 3 errors im getting...
Errors
URI : file://localhost/style2.css
* Line: 65 Context : img.left
Property align doesn't exist : left
* Line: 128 Context : #nav a
Invalid number : float Parse Error - float
* Line: 128 Context : #nav a
Invalid number : left Parse Error - left
any clue guys?
this is my css (the parts that the validator is iffy about)
CSS
img.left{
padding:3px 5px 5px 0px;
align:left;
}
#nav a {
float; left;
display: block;
margin:0 1px 0 0;
padding: 4px 8px 0 0;
color:#333;
text-decoration:none;
border: 1px solid #000000;
border-bottom:none;
background:#ffffff url(images/onbg.png) repeat-x top left;
}
And these are the 3 errors im getting...
Errors
URI : file://localhost/style2.css
* Line: 65 Context : img.left
Property align doesn't exist : left
* Line: 128 Context : #nav a
Invalid number : float Parse Error - float
* Line: 128 Context : #nav a
Invalid number : left Parse Error - left
any clue guys?