View Full Version : CSS Validation help...

05-27-2008, 01:05 PM
Can anyone help with these errors ?

CSS VALIDATOR (http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.doncasterlivemag.co .uk%2Fmain.htm&profile=css21&usermedium=all&warning=1&lang=en)

The last one is the ie/png fix...

What's the 'position fixed' error for ?


d a v e
05-27-2008, 01:24 PM
you canīt have this #GGGGGG in hexadecimal for rgb. #ffffff is the highest value (i.e. white: max red max green max blue)

you want either
background-attachment: fixed;
or simply

i found topstyle lite really useful when writing css as it guides you as to the valid options for each property
(near the bottom of the page http://www.newsgator.com/Individuals/Default.aspx )

05-27-2008, 01:27 PM
The errors with explanation are literal.
"fixed is not a background-position value" <=there is no 'fixed' value for that CSS property.

Same with the other ones. Invalid code for color, and the file linked to doesnot exist.

05-27-2008, 01:38 PM
Cheers Dom / dave . . .

The errors are very literal - just couldn't see the error.
I'll sort them no problem...

Anyone got a clue on validating the IE fix ?

05-27-2008, 01:59 PM
It tells you it cannot find the script. So either the path is wrong, or the file is not there.

05-27-2008, 02:01 PM
But it works !? I'll have a play around . . .

Cheers Dom.

05-27-2008, 06:44 PM
But it works !?

Indeed it does :-)

I read the error wrongly. With these quotes it makes more sense:
Property "behavior" doesn't exist.

'behavior' is IE only, it's not a standard CS property. Compliant browsers will ignore CSS properties they don't understand, so you're good.