[jQuery] Re: getting the height of some div (which contains p having some margin defined)

2009-08-06 Thread ggerri
The Dimensions plugin might help: http://plugins.jquery.com/project/dimensions Regards G On Aug 5, 6:47 pm, ZedroS zedros.schwa...@gmail.com wrote: hi we have just found out the issue. Let's say you have div id=div   pbla/p /div Like this, $('#div').outerHeigth(true) won't care about

[jQuery] Re: getting the height of some div (which contains p having some margin defined)

2009-08-05 Thread Cesar Sanz
$(div).height() ??? - Original Message - From: ZedroS zedros.schwa...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Wednesday, August 05, 2009 5:02 AM Subject: [jQuery] getting the height of some div (which contains p having some margin defined) Hi I would

[jQuery] Re: getting the height of some div (which contains p having some margin defined)

2009-08-05 Thread ZedroS
hi we have just found out the issue. Let's say you have div id=div pbla/p /div Like this, $('#div').outerHeigth(true) won't care about the p margin. In fact, in just care about the row content If you switch to div id=div style=display: visible pbla/p /div then $('#div').outerHeigth(true)