Forum Moderators: open

Message Too Old, No Replies

Little HTML Help

Body & Margins

         

experienced

8:56 am on Jan 10, 2006 (gmt 0)

10+ Year Member



Hi I have this line in my code but this is not a valid HTNL attribute as per w3 validator. When i tried to remove all these margins my page left margins on each side of the page.

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

any help..

benihana

9:06 am on Jan 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



strip it out, and use

body {
margin:0px;
padding:0px;
}

in your css.