• Hi, i have successfully installed WordPress v2.9.2, i have installed the “Mystique” theme, i thought i would run a check on the CSS to see if it was all ok as i have heard that bad coding can result in poor SEO results.
    With no plugins activated and the basic install, i get 69 errors within the code.
    (tool: http://jigsaw.w3.org/css-validator/)

    is what i have heard true? and is there any easy way to fix this problem as i do not have any experience what so ever with CSS.

    any help/advice would be greatly appreciated.

    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need to validate it as CSS level 3, but even then you’ll get about 20-30 “errors”. These are actually browser specific properties, such as “-moz-border-radius” which makes rounded borders in firefox – it’s not officially recognized by the w3 so is marked as error.

    CSS doesn’t affect SEO (search engines don’t read css).

    http://validator.w3.org/
    Is where you really want to check your coding.

    This is the important stuff, where you would like to see no errors

    As long as you keep your (x)HTML tidy and clean you are well fit. Regarding CSS: Focus on your layout and what you want to achieve. If your design looks as you want in all the mainstream browsers and versions, you are fine. Don’t spend a thoguht about the eventually “CSS-errors”.

    Thread Starter techbytes

    (@techbytes)

    Thanks for your replys guys.
    Its just i seen some stuff on an official google page that if your code is all over the place, their bot is likely to skip your page if its too hard to crawl?
    I just checked with the validator there, 1 error, which is my own fault and can fix it.
    so basically its all sound then?

    Chris

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Bad CSS ?’ is closed to new replies.