[thelist] Setting page Margins that will validate

aardvark roselli at earthlink.net
Mon Mar 5 09:33:47 CST 2001


> From: "Peter-Paul Koch" <gassinaumasis at hotmail.com>
> 
> body {margin: 0px;}
> 
> Doesn't work in Netscape 4, so there you'll have to choose between a
> validating and a working site.

well, page margins don't prevent a site from working... it's not a 
decision between a site that validates and one that works, it's a 
decision between one that validates, and one that in NN4 (and 
others) has a bit of space at the top and left...

so, just make sure your design doesn't *need* to pushed into the 
corner...

it's also worth noting that you can set different margins for different 
edges:

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





More information about the thelist mailing list