faqts : Computers : Internet : Web : CSS

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

102 of 108 people (94%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

Use CSS to replace leftmargin, topmargin

May 27th, 2004 20:30
Arijit Sarbagna,


In order to make your site W3C standard, you can't use something like:
<body topmargin="0" leftmargin="0">
The way around will be to use Style Sheets to do the work for you.
The CSS should be like:
body { 
margin: 0px; padding:0px; 
}
This will do your work & W3C will also approve your page.
Have fun!
Regards
Arijit