Wow, I've been at this game for a while now, and that was something I wasn't
even familiar with. Adding 'zoom: 1' seems to have fixed the problem I was
having. Thanks for pointing it out.

--Erik

On 11/22/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:

Have you tried giving the element layout?

-- Yehuda

On 11/23/06, Erik Beeson <[EMAIL PROTECTED] > wrote:
>
> I just noticed that css('height') in IE6 returns auto with no DOCTYPE,
> and an empty string with XHTML. But .height() seems to return the correct
> height in IE6. Weird.
>
> It's all for not for me though as IE won't allow me to relatively
> position an element that has floating children. Gah. The web sucks.
>
> --Erik
>
>
> On 11/22/06, Yehuda Katz < [EMAIL PROTECTED]> wrote:
> >
> > I've been noticing some issues with height() (esp. that IE and FF have
> > different responses for "auto" height). I've resorted to using
> > dimensions.js and the offset method.
> >
> > -- Yehuda
> >
> >  On 11/22/06, Erik Beeson <[EMAIL PROTECTED]> wrote:
> >
> > > visualjquery.com say about height(): Get the current CSS height of
> > > the first matched element.
> > >
> > > And the example claims it returns something like "14px". It appears
> > > to me (in FF2 on winxp anyways), that it returns a number, without the 
'px'.
> > > Also, sometimes it returns the same value as css('height') (though 
css(...)
> > > DOES return the height with the 'px' part), but when I resize the window,
> > > sometimes it returns the wrong size. It isn't a big problem for me as I'm
> > > now just parsing the number out of css('height'), but it seems like
> > > inconsistent behavior.
> > >
> > > --Erik
> > >
> > > _______________________________________________
> > > jQuery mailing list
> > > [email protected]
> > > http://jquery.com/discuss/
> > >
> > >
> > >
> >
> >
> > --
> > Yehuda Katz
> > Web Developer | Wycats Designs
> > (ph)  718.877.1325
> > _______________________________________________
> > jQuery mailing list
> > [email protected]
> > http://jquery.com/discuss/
> >
> >
> >
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>


--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325

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



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

Reply via email to