Get a free trial // Grow your CSS skills // Land your dream job

Why webdesigner use this

  • # September 22, 2008 at 6:03 am

    then which should be used CSS HACK or Conditional comments?

    # September 22, 2008 at 6:21 am

    Conditional comments.
    Never hack your CSS – keep it pure. If a browser doesn’t interpret CSS correctly, then give it its own stylesheet. 9 times out of 10, you’ll only need one additional stylesheet, and that will be to accommodate IE6. Occasionally a second one for IE7 but this is rare.

    # September 22, 2008 at 9:42 am

    then this book is not good foe web standards

    and read this article too about conditional comments

    # September 22, 2008 at 10:08 am

    I’m not going to read any more articles – you can believe me or not – it’s up to you.

    # September 24, 2008 at 12:53 am

    I’m Confusing This is a issue of debate what is the futuristic and web standard approach to get Cross Browser Compatibility between CSS Hacks and IE Conditional css ? is really there no unanimous solution ?

    # September 24, 2008 at 4:57 am

    There is no debate. You should not use CSS hacks. Just because some people use them, it doesn’t make them right. If you want clean, transferable, future-proofed code, then use conditional comments to force browser compatibility.

    # September 24, 2008 at 6:05 am

    thx from now i will use only conditional css

    # September 26, 2008 at 10:55 am

    isaw in the css of this website site owner CHRIS is using css for IE not a conditional css.

    # September 26, 2008 at 1:45 pm

    And..? Doesn’t make it right.

Viewing 9 posts - 16 through 24 (of 24 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed