Why webdesigner use this

  • # September 22, 2008 at 6:03 am

    This reply has been reported for inappropriate content.

    then which should be used CSS HACK or Conditional comments?

    box
    # September 22, 2008 at 6:21 am

    This reply has been reported for inappropriate content.

    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

    This reply has been reported for inappropriate content.

    then this book is not good foe web standards http://www.amazon.com/CSS-Hacks-Filters-Cascading-Stylesheets/dp/0764579851

    and read this article too about conditional comments http://meiert.com/en/blog/20070201/why-conditional-comments-are-bad-repeat-bad/

    box
    # September 22, 2008 at 10:08 am

    This reply has been reported for inappropriate content.

    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

    This reply has been reported for inappropriate content.

    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 ?

    box
    # September 24, 2008 at 4:57 am

    This reply has been reported for inappropriate content.

    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

    This reply has been reported for inappropriate content.

    thx from now i will use only conditional css

    # September 26, 2008 at 10:55 am

    This reply has been reported for inappropriate content.

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

    box
    # September 26, 2008 at 1:45 pm

    This reply has been reported for inappropriate content.

    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