...

View Full Version : IE6 Margins



briguyd
08-07-2007, 05:32 PM
Hi, I'm making a website and am having some problems removing the whitespace between two elements in IE6. It looks fine in Firefox, Safari, IE7, but IE6 has about 3px of space that I can't seem to eliminate. The page is located at http://209.7.3.209/ and it's in any one of the navigation tabs between the quote text and the image that goes along with it. Any help would be greatly appreciated.

littlemiss
08-07-2007, 05:36 PM
use this style

body{
margin-left:0px;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
}

should get rid of all page margins.

ahallicks
08-07-2007, 05:48 PM
Or to create it even easier:

margin: 0;

One other way to do this is to use the Universal Selector (http://www.ahallicks.co.uk/universal_selector.php) to zero out all margins and padding, then re-apply them as you need them. You might come across fewer display issues this way. And if it is a margin or padding problem then this will help.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum