[jQuery] get the widht() of a hidden element in IE
hello,
i've a little probleme to get the width() of an image which is in
display:none; in IE
i explain:
i have this line: <div> /img/user/Image/gres/nimes.jpg </div>
the <div> is in display:none; in my css by default when i load the page.
My trouble is that with IE (6/7) i can get the width of the image, but in
firefox/safari i can...
i try different syntaxe:
$('img').width()
$('img').attr('width')
but that doesn't work....the only escape i find is to putoff the
"display:none;" in my css: in this case IE get correctly the width of my
image...but i dont want to putt the display:none; by jquery....
any idea ? thanks
--
View this message in context: http://www.nabble.com/get-the-widht%28%29-of-a-hidden-element-in-IE-tp18707473s27240p18707473.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.