PDA

View Full Version : FIXING min-height BUG in IE



numbenator
13 Mar 2006, 08:43 AM
hi All
Im using MIN-HEIGHT however, i understand it doesnt render in IE.

i haev so far found 2 solutions, fixes to this problem :

1) use _

so CSS style is

min-height:551px;
height: auto;
_height: 551px;


2) use expression :

min-height:551px;
height:expression(this.scrollHeight < 551? "551px" : "auto" );


BOTH SEEM TO WORK ABSOLUTELY FINE

could someone highlught which is the better to use if either and why i am using. (techy explanation)

cheers