SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What would you typically take care of when writing ie7.css?

    Hello,

    Title is pretty self-explanatory. Here's how I handle ie6:
    http://universal-ie6-css.googlecode....es/ie6.1.1.css

    Now I'd like to have a little gesture toward ie7. What should I consider doing?

    Regards,

    -jj.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,821
    Mentioned
    158 Post(s)
    Tagged
    4 Thread(s)
    Hi,

    I have no special default code for IE6 as it doesn't need anything specific until something goes wrong.

    A normal small reset will take care of IE6 at the same time as all other browsers so there is no need for duplication of code. I certainly wouldn't have an IE6 only reset as that seems pointless to me and a maintenance nightmare.

    IE6 does need help at times but I don't see the point in defining anything until the need arises.

  3. #3
    Non-Member bronze trophy
    Join Date
    Nov 2009
    Location
    Keene, NH
    Posts
    3,760
    Mentioned
    23 Post(s)
    Tagged
    0 Thread(s)
    Targeting browsers with their own separate stylesheet is IMHO some of the most inept coding on the planet. There is NO legitimate reason to send different stylesheets or bloat out your markup with IE conditional comments for CSS. PERIOD.

    Much less 5k of nonsense turning it into a general framework and NOT an actual reset. A simple sub 255 byte reset that can be sent to all browsers safely beats the ever living tar out of adding an extra handshake and bloating out the markup on every page and every browser.

    But then, I can take most people's pages that rely on that type of nonsense and redo it with a single stylesheet that typically works all the way back to IE 5.5 by following some simple coding rules.

    Really that "universal IE6" bull looks to me to be the same type of idiocy as CSS frameworks -- which as a rule of thumb defeat one of the reasons to even use CSS in the first place!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •