Parser Error w/ REALLY Basic CSS
I'm starting a CSS for a beginning web project and was given the following error message when trying to validate with the W3C CSS Validator:
Errors
URI : file://localhost/styles.css
* Line: 14 Context : #65533;#65533;#65533;
Parse Error - #navcontainer { width: 160px; }
Here is the source from my CSS:
/* Define Nav Container */
#navcontainer
{
width: 160px;
}
#navcontainer ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: arial, helvetica, sans-serif;
}
#navcontainer a
{
display: block;
padding: 3px;
width: 160px;
background-color: #000033;
color: #FFFFFF;
border-bottom: 1px solid #EEEEEE;
}
#navcontainer a:link, #navlist a:visited
{
background-color: #000033;
color: #EEEEEE;
text-decoration: none;
}
#navcontainer a:hover
{
background-color: #336699;
color: #EEEEEE;
}
#navcontainer a:active
{
background-color: #99CCFF;
color: #000033;
}
/* End Define Nav Container */
If anyone can help, I'd be most grateful. I'm just starting out and this seems like a weird hangup. Also, if you see any other glaring problems, please let me know. Thank you in advance for your help.
|