Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthoraconnor
    • CommentTimeJun 3rd 2006
     permalink
    How can i implement max and min width on Mac IE.

    I've used the "expression" workaround in a conditional comment for PC IE, but as far as I know, Mac IE doesn't recognize conditional comments, and I don't want to put an expression directly into my CSS file because then it won't validate.
    •  
      CommentAuthornifkin
    • CommentTimeJun 3rd 2006
     permalink
    MacIE = "abandon all hope ye who state you'll support this browser"
    • CommentAuthoraconnor
    • CommentTimeJun 4th 2006
     permalink
    I know it sucks, but I'd prefer not to leave the people using it out in the cold.

    Does anyone know how to implement min and max-width in Mac IE. I don't even care it the solution is JavaScript dependent.
  1.  permalink
    I link html pages to stylesheets via a link tag to a css file that only contains these lines:

    /* import actual stylesheet */
    @import url(base.css);

    /* import stylesheet for Mac IE only \*//*/
    @import url("macIE.css");
    /**/

    Now, I don't know what an "expression workaround" is but if you can use that in the macIE.css file to fix your min/max width issue then go for it. I *think* the validator will not read the macIE.css file.

    We would all like to believe that Mac IE is dead and buried but it's scary how many people I see still using it with blissful ignorance.
    • CommentAuthoraconnor
    • CommentTimeJun 13th 2006
     permalink
    So after a lot of digging it looks like there isn't really a good, clean way to get implement these two CSS properties in MacIE.

    Here's what I was trying to achieve. I have an elastic layout for a site that works in all other browsers I've tested so far. Elastic layouts, of course, use max and min widths.

    It looks like the only alternative is to have a separate fluid or fixed width layout served to MacIE.
Add your comments
    Username Password
  • Format comments as (Help)