min-width for IE: one more solution

On 8-10-2005, in CSS, by Alex

Very elegant solution:
Outer div has Ypx border, inner div has negative Ypx margin (and 100% of outer div).

UPDATED: Also read here (ru)

 

5 Responses to min-width for IE: one more solution

  1. Boranoff says:

    i have been usign this in my CSS 😉
    instead min-width

    .limit-min {
    min-width: 1024px;
    _width:expression((document.body.clientWidth < 1024) ? “1024px” : “auto”);
    }

  2. Alex says:

    Hmm. Which one is correct? :))
    Ahh I see, last one.
    I am removing previous 🙂
    Thanks

  3. Hmm… Is it really works?
    Is it really works in IE 7?

  4. Alex says:

    Honestly didn’t check yet.
    Even didn’t installed 7th donkey 😉

  5. Oh! Like me 🙂