Uhm,
I had the same problem. You have to pay attention that the
height/width of an element obtained with the DOM - using offsetHeight
if I'm not wrong -  (no time to check it with jQuery) includes the
padding & border (top&bottom or left&right) values.


2006/9/20, limodou <[EMAIL PROTECTED]>:
> I have some elements dynamicly created, but I found the height is not
> the displayed height, and it's larger. I don't sepcify the height of
> the elements which dynamicly created, so the height attribute should
> be default. Is there a way to get the display height but not the
> default height? And it seems that the height returned by
> element.height() in MSIE is correct, but not correct in FF. And the
> element has many children element in it.
>
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad
> UliPad Maillist: http://groups.google.com/group/ulipad
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>


-- 
Roberto Ortelli
http://weblogger.ch

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

Reply via email to