IE 7.0 outer div height issue

  • Thread starter Thread starter SM
  • Start date Start date
S

SM

In IE 7.0 , Outer div height is not automatically growing to include its
child divs and other controls like ASP panel etc ( again their size is
dynamic). In IE 6.0 it was seameless.

Any thoughts are highly appreciated.
 
Actually the IE6 behavior was bad. If you define the size of an element, it
should be exactly the size you defined. min-height allows to define a
minimal height and grow as needed.
 
SM said:
In IE 7.0 , Outer div height is not automatically growing to include
its child divs and other controls like ASP panel etc ( again their
size is dynamic). In IE 6.0 it was seameless.

Any thoughts are highly appreciated.

Sounds like you might need
<div style="clear:both;"></div>

just before the closing </div> of the Outer div.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top