Forum Moderators: not2easy

Message Too Old, No Replies

Parse Error on CSS Validation

         

terrybarnes

10:57 am on Oct 27, 2008 (gmt 0)

10+ Year Member



I'm using the [jigsaw.w3.org...] Validator just to see whether my css is okay but it's picking up a few things that I don't really know what it means. They are:

1 font-size Parse Error font-size: 11px;
1 font-family Parse Error font-family: tahoma;
1 line-height Parse Error line-height: 11px;
1 font-size Parse Error font-size: 11px;
1 font-family Parse Error font-family: tahoma;
1 width Parse Error width: 500px;

Any ideas?

swa66

11:55 am on Oct 27, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try to focus on the lines before it, most likely it's code that's out of place.

g1smd

12:03 pm on Oct 27, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Often the { brackets } are mismatched, or misplaced.

dreamcatcher

4:43 pm on Oct 27, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Maybe a missing semi colon?

dc

g1smd

4:52 pm on Oct 27, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Could be that too.

terrybarnes

12:08 pm on Oct 28, 2008 (gmt 0)

10+ Year Member



Thanks for everyone's help with this... It was actually some weird code that had been left in from the previous developers - I've removed it and everything's okay.

g1smd

12:37 pm on Oct 28, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Was it some PHP (or other script) that was supposed to make some aspects of the CSS file dynamic?

terrybarnes

1:04 pm on Oct 28, 2008 (gmt 0)

10+ Year Member



To be honest I'm not sure - I just removed it, tested the site on a live dev site and all is okay - it's only a basic 5 page site so it's very easy to see any issues, if there were any.