Kevin -

What version of jQuery are you using? I'm fairly certain that the
'height: auto' issue is resolved in 1.0.1:
http://jquery.com/src/jquery-1.0.1.js

--John

On 9/4/06, Kevin Old <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I have div that has 4 large paragraphs in it.  I'm like to use
> slideToggle() to show/hide the div, but have run into a few problems.
>
> After executing slideToggle() on my div, the following styles are set:
> <div style="overflow: visible; display: block; height: 171px;">
>
> Compare this to the styles set if I use show() instead:
> <div style="overflow: hidden; display: block; height: 171px; width:
> 554px; opacity: 0.9999;">
>
> I'd like to be able to adjust the height and overflow, but would like
> for it to figure out the height to include all of the content (maybe
> if I could pass "height: auto").
>
> I've looked through the docs, but can't figure it out.
>
> Any ideas?
>
> Thanks,
> Kevin
> --
> Kevin Old
> [EMAIL PROTECTED]
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>


-- 
John Resig
http://ejohn.org/
[EMAIL PROTECTED]

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to