Afficher un message
Vieux 20/03/2008, 16h34   #5
Jeff
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: min-height current wisdom

David Stone wrote:
> In article <13u492cs8sk8d81@corp.supernews.com>,
> Jeff <jeff@spam_me_not.com> wrote:
>
>> John Hosking wrote:

> [snip]
>> Is there a "solution" to the div min height issue? What I actually
>> have is rows of different colored divs (in a table) with varying number
>> of lines in them. If I don't set a height I don't have a color sample.
>> If I set a height then the text might flow below the div. I don't want
>> to stuff &nbsp;'s in them.

>
> I had thought that IE7 had implemented min-height? IIRC, it does
> have min-width and max-width implemented, although you have to be
> sure IE7 doesn't stumble into quirks mode...



I found this, circa 2006:

http://www.dustindiaz.com/min-height-fast-hack/

selector {
min-height:500px;
height:auto !important;
height:500px;
}

That supposedly worked in IE7.

Jeff
  Réponse avec citation
 
Page generated in 0,05079 seconds with 9 queries