CSS Validating

Soldato
Joined
18 Oct 2002
Posts
9,044
Location
London
I get this when trying to use http://jigsaw.w3.org/css-validator


Errors
URI : xxx.css
Line: 7 Context : ���
Parse Error - * {margin:0;padding:0;}

Warnings
URI : xxx.css
Line : 26 (Level : 1) You have no background-color with your color : .nv-may
Line : 27 (Level : 1) You have no background-color with your color : .nv-ill
Line : 28 (Level : 1) You have no background-color with your color : .nv-port
Line : 29 (Level : 1) You have no background-color with your color : .nv-pro
Line : 30 (Level : 1) You have no background-color with your color : .nv-news
TIMES 20!


Not sure about the error, I thought this was a standard thing?

As for the warnings, I guess it's not important, but I could go through and add some background#. Just seems like extra wasted bytes though..

Any thoughts? :)
 
Thanks for the advice guys!

However, I tried again but this time:
1. validating the css file directly
2. re-writing the line to line 1 (before I had comments up there)


Line: 1 Context : ���
Parse Error - ���*{margin:0;padding:0}

Those question marks are actually square boxes [] :confused:
Real weird one. Maybe it's because I'm currently hosting it on a server at home. W2003.

Edit: using DW8
 
Now I'm confused. I did the same thing in notepad. No difference. Went back to DW, saved it - now it works.

One of those things I guess! How annoying. Thanks for the help though :)
 
Back
Top Bottom