[jQuery] Re: jQuery.height() or css issue?

2009-02-25 Thread Josh Nathanson
I bet it's the css reset. There's some funky business with the line-height on the body tag. Did you try it without that css reset and see if it gets better results? -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of chief

[jQuery] Re: jQuery.height() or css issue?

2009-02-25 Thread chief
Thanks to @danieltott on Twitter - it was my stupid mistake. I didn't put the CSS links BEFORE my JS calls. Works pretty well now. Thanks! On Feb 25, 2:09 pm, Josh Nathanson joshnathan...@gmail.com wrote: I bet it's the css reset.  There's some funky business with the line-height on the body

[jQuery] Re: jQuery.height() or css issue?

2009-02-25 Thread dan ott
This issue is caused because you included your stylesheet after the script, so it runs before the reset is applied. See here: http://docs.jquery.com/Events/ready This is also a nice illustration of how resets are nice(: ~dan ott dtott.com