CSS validation errors?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

CSS validation errors?

Post 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?
User avatar
andre_c
Forum Contributor
Posts: 412
Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah

Post by andre_c »

isn't it supposed to be

Code: Select all

a.album-link:link { ... }
... maybe not, i can't remember for sure :?
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

It should be

Code: Select all

a.album-link:link {
Last edited by JayBird on Mon May 09, 2005 8:10 am, edited 1 time in total.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post 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
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post 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?
User avatar
andre_c
Forum Contributor
Posts: 412
Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah

Post by andre_c »

what's the exact error?
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

my css has always displayed perfectly even using the aforementioned code, just doesnt validate
Post Reply