Page 1 of 1

CSS validation errors?

Posted: Mon May 09, 2005 7:23 am
by malcolmboston
following gives me a validation error

Code: Select all

a:link.album-link {
font-size: 11px;
font-family: Verdana;
text-decoration: none;
color: #000;
}
Error message given by dreamweaver: Error parsing styles in IE 5.0

looks valid to me, line dreamweaver mentions is the "a:link.album-link {" line

any ideas anyone?

Posted: Mon May 09, 2005 8:09 am
by andre_c
isn't it supposed to be

Code: Select all

a.album-link:link { ... }
... maybe not, i can't remember for sure :?

Posted: Mon May 09, 2005 8:09 am
by JayBird
It should be

Code: Select all

a.album-link:link {

Posted: Mon May 09, 2005 8:10 am
by malcolmboston
follow-up:

HTML now validates as HTML 4.01 Transitional, im not concentrating about validation atm so thats my main aim atm just to get it to validate as that

My problems arise in CSS validation: W3C validatr says something about "a proper document parse tree" what the hell is that supposed to mean?

Mal

Posted: Mon May 09, 2005 10:57 am
by phpScott
not sure but try

Code: Select all

a.link:album-link {
font-size: 11px;
font-family: Verdana;
text-decoration: none;
color: #000;
}
does your css at least display right?

Posted: Mon May 09, 2005 11:17 am
by andre_c
what's the exact error?

Posted: Mon May 09, 2005 1:52 pm
by malcolmboston
my css has always displayed perfectly even using the aforementioned code, just doesnt validate