Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How important is valid CSS?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40325
    fooman
    Participant

    When considering the ‘zoom:1’ idea for clearfix’s, I’ve been conditionally been including a tiny CSS file for browsers < IE9. If left in the main css file, it works without issue, but does not validate. Other than being anal, how does validation effect css and the performance of a website? (excuse me if this is uber-newb!)

    #112055
    Kitty Giraudel
    Participant

    I think the cleaner your CSS is, the faster it will be for the browser’s CSS parser.

    But I wouldn’t chase the perfect score if I were you. Firstly because a single line of CSS3 would make this impossible, and mostly because it has no point, contrary to valid markup.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.