...

View Full Version : CSS padding/margin problem in IE6



decrain_1
12-29-2006, 08:30 PM
Hi all,

I'm building a site at www.decrain.com/kaba/production

It looks good in every browser except for IE6 where the bottom of the main content area has about a 2px white space.

There should be no automatic padding or margins throughout the document, so I'm not quite sure what the problem is.

I've embedded the css in the header, and commented it so it should be easy to read.

Thanks for any help.

coothead
12-29-2006, 08:40 PM
Hi there decrain_1,

and a warm welcome to these forums. ;)

Add this rule to your stylesheet...


#main img {
display:block;
}

coothead

decrain_1
12-29-2006, 09:16 PM
perfect.

thanks so much.

coothead
12-29-2006, 09:32 PM
No problem, you're welcome. ;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum