urgent - IE 6 display problem
Hi,
I'm developing an ASP.NET website and am having a big problem for the last couple of days...
Please take a look at the following website:
http://www.spletna-galerija.net/Gallery.aspx
It seems that whatever I try there's always an overflow in the center top div (named "DSSeparatorTop"). An overflow of about 5-10 pixels...
It looks fine in FireFox and IE7 but there's an error in IE6 and I just can't get rid of it...
Could anyone please give me some advice on an IE6 workaround? I only have about 3
days left to fix it...
Thanks...
[711 byte] By [
zagy] at [2007-12-25]
Hi Zagy,
I used the IE Developer Toolbar to select that DIV and review the current style settings. I then added an inline style to the DIV itself that set height to 0. When I applied this, the DIV appeared to resize correctly.
You might try adding an inline style to the markup and see if that takes care of your problem.
Hope this helps...
-- Lance
Thank you for your reply Lance,
I was just about to try your method when I got another suggestion:
Set 'font-size: 0px' in the problematic div and IT WORKED!
It appears that IE6 sets font-size to 10px automaticaly and resizes the div accordingly
Thanks,
Saso