There is a reason it's called "Quirks" mode :)

On Sep 17, 2:26 pm, Matt Kruse <[EMAIL PROTECTED]> wrote:
> 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

Reply via email to