[jQuery] Do the Basic Effects have problems with padding?

[jQuery] Do the Basic Effects have problems with padding?

There were several threads about this in May. The core problem is that the
value returned from $.css("height") returns the height including padding and
borders, but the CSS height value is not supposed to include those.
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of Olav Müller
Sent: Saturday, June 03, 2006 1:24 AM
To: discuss@jquery.com
Subject: [jQuery] Do the Basic Effects have problems with padding?
Hi,
I'm new to jQuery (which you may guess from the fact, that I do not know if
this has been reported/discussed before ...) and just recently started to
play with it a bit.
I have experienced a strange behavior, when I repeatedly
hide()/show() or slideUp()/slideDown() an element with a padding. The
element is not restored to it's original size but gets bigger every time.
Other than removing the padding from my elements, how do I prevent this?
--
Thanks,
Olav
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/