Cascading Style StumblerDiscussion
Anyone know of a max-height IE6 hack


guitarnoizeJul 17, 2007 1:06am
I really want the height to grow until a certain height so using:

min-height:200px;
height: auto!important;
height: 200px;

doesn't really help. In modern browsers I can just use:

max-height 200px;


Sponsor
AnswerManJul 17, 2007 3:22am
margin-top:200px; ?


heartfmJul 17, 2007 1:37pm
i think this can help
cascading-style-stumbler.group.stumbleupon.com/forum/50936/ [cascading-style-stumbler.group.stumbleupon.com/forum/50936/]


guitarnoizeJul 17, 2007 4:39pm
margin-top won't help as that will add a margin to the top of the container rather than constraining the height once it reaches a certain value.

heartfm, I did wonder if IE expressions would help, that one in particular won't because it uses the browser width (or height) but I might be able to change that to get the height of a targeted div? Promising, thanks!


Mickey-NoxOct 30, 2007 10:01pm
can you use child sectors? - crap just realized how old this was


Anyone know of a max-height IE6 hack

You need to Sign-up for StumbleUpon to post to this forum