Please, publish that fix as a jQuery function...thnxs! ;-)
El 17/09/2008 19:26, Matt Kruse escribió:
In IE6, quirks mode, I expect this to not change their height of an object: var h = $obj.height(); $obj.height(h); However, it does cause a re-size (if the object has padding/borders). Is this intended? ( Using: http://code.jquery.com/jquery-latest.pack.js ) It looks like when height() is called, it returns the internal height, minus borders and padding. When height(val) is called, the height includes borders and padding. I believe these should behave consistently in quirks mode. In standards mode they work fine. For now I will write a fix that switches based on compatMode. Matt Kruse
-- Enrique Meléndez Estrada (2367) Servicios Informáticos Organización y Servicios Internos Instituto Tecnológico de Aragón

