Furry, Tim wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Has anyone ever come up with an alternative way to set body margins
> that will validate with W3C's HTML 4.01 Transitional? I'm using the
> typical:
>
> <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
> style="margin:0;padding:0">
>
> and this is one of the few errors I have left. Couldn't find much of
> anything doing a Google.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Get rid of all the leftmargin, etc. and specify a unit for the CSS.
All you need is:
body{
margin: 0px;
}
if it is in a linked (prefferred) or embedded style sheet.
or:
<body style="margin:0px;">
if its inline (avoid)
HTH,
Stephen Caudill
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]