IE 8 and jquery problem

Posted by Hellnar on Stack Overflow See other posts from Stack Overflow or by Hellnar
Published on 2010-04-06T19:30:12Z Indexed on 2010/04/06 19:33 UTC
Read the original article Hit count: 105

Filed under:
|
|

I have such div:

<div class="box">
    <div id="myid" style="display:hidden;"> <p>some stuff here</p></div>
</div>

when I do $("myid").slideToggle("slow"); , if the content of has bigger height over box, my content overflows from the bottom of the "box" class, weirdly this doesn't happen with other browsers but IE8

How can I fix this issue so that when "myid" starts to display content, height of the .box resizes itself to fit the inner div.

© Stack Overflow or respective owner

Related posts about html

Related posts about jQuery