Hi, thanks for the response, I tried adjusting the line height and overflow but this didn't work, I don't think it's jQuery either, I'm certain it's just IE6 being a terrible browser as usual and not doing things properly. IE7 and FF are fine...
On Nov 21, 1:05 am, polyrhythmic <[EMAIL PROTECTED]> wrote: > Trying reading the height back after you've set it. I bet it's being > correctly set (but not displayed) at 1px. > > For a debug console in IE, try > CompanionJS:http://www.my-debugbar.com/wiki/CompanionJS/HomePage > The DebugBar tools are great as well but they are not free. > > IE6 has a habit of displaying the height of a div based on other > factors, such as line-height. Try setting your line-height to 1px and > overflow to hidden. > > Without an example page, that's the best I can do. It's not a jQuery > error, I'm pretty sure. > > HTH > > Charles > > On Nov 20, 4:44 am, wellmoon <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I am creating a new div and using the .height(1) method to set it's > > height to 1 pxiel high. In IE7 and FF this works fine, however in IE6 > > for some reason 18 pixels are mysteriously added to the height of the > > new div. It seems to be added at the point when it is inserted into > > the DOM so getting the height value before it is appended shows the > > correct height but getting it after it is appended shows the wrong > > height. > > > I have tried to set the height after the element has been appended but > > this doesn't work. Its proving really difficult to debug as IE6 is > > utter poo and doesn't have a DOM explorer or proper error console or > > any useful tools at all, so it's difficult to see what is going on or > > why this is happening. > > > No live site I'm afraid so can't give a demo page...any suggestions > > hugely appreciated :)- Hide quoted text - > > - Show quoted text -