July 28, 200917 yr My site is coming up with this error in the W3C validator: 45 Parse Error } Can anyone tell me what it means?
July 28, 200917 yr Can you post your CSS code up please? As it's saying 45 Parse Error } with the curly brace, I'd have a guess that somewhere in your CSS you've forgotten a semi colon like: elem { property: value; property: value } Or just added an extra end brace: elem { property: value; }} The validator should tell you which line it's on.
July 29, 200917 yr Author Here's the link to the validator, with my code on: http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.contractflooringjournal.co.uk&profile=css21&usermedium=all&warning=1&lang=en
July 29, 200917 yr Strange, when I copy your code and validate it by direct input it passes the validation.. Unfortunately I can't help much, but your code is valid. I'd remove the charset definition at the top of your stylesheet as it can trigger a bug in Safari.
July 29, 200917 yr the error is in index.html on line 45: <style type="text/css"> /*<![CDATA[*/ <!-- .style1 {font-weight: bold} } body { background-image: url(images/sliced.jpg); background-repeat: repeat-x; } --> /*]]>*/ </style> should be <style type="text/css"> /*<![CDATA[*/ <!-- .style1 {font-weight: bold} body { background-image: url(images/sliced.jpg); background-repeat: repeat-x; } --> /*]]>*/ </style>
Create an account or sign in to comment