Click to See Complete Forum and Search --> : float:left IE problems


stuffandthings
07-14-2006, 06:14 AM
Hi,

I am creating a banner at the top of my web page that is created from 3 seperate images. I have tried using the float:left property in my style sheet and although it works fine in Firefox, i am getting gaps between the images in IE. I have tried setting the margins and padding to 0 pixels and this hasn't helped.

Is this a known problem in IE or am i being a bit slow!!!!

Any help would be much appreciated.

WebJoel
07-14-2006, 06:16 AM
Hi,

I am creating a banner at the top of my web page that is created from 3 seperate images. I have tried using the float:left property in my style sheet and although it works fine in Firefox, i am getting gaps between the images in IE. I have tried setting the margins and padding to 0 pixels and this hasn't helped.

Is this a known problem in IE or am i being a bit slow!!!!

Any help would be much appreciated.

but have you also done "border:0;"? IE assumes a value for padding, margin AND border. You must specify "zero" for all three.