On Oct 13, 2006, at 9:38 AM, kyle wrote: > I'm having height issues with slideToggle in Firefox. An example > can be > found here: > > http://hotelwebsitedesign.com/OTODevelopment/careers_openings.asp > > In IE when you click on the different positions they expand fully > but in > firefox they only expand some of the way and then the text just > spills over > on top of other listings. Any idea why this is happening? The hidden > content is all in one div which I'm toggling. > > I'm using firefox 1.5 and the latest jQuery download.
Hi Kyle, My guess is that slideToggle() isn't taking into account the line- height in your CSS. A bottom margin on those DIVs might compensate, but since the amount of text is variable, and therefore so is the extra amount of height caused by line-height, my hack isn't terribly useful Does anyone else know a workaround for this? When I neutralized line- height, it got very close, but not all the way, towards preventing the overlap. Karl ___________________ Karl Swedberg www.englishrules.com www.learningjquery.com _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
