By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,225 Members | 2,170 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,225 IT Pros & Developers. It's quick & easy.

Validation (XHTML 1.0 Transitional): Attribute 'leftmargin' is not a valid attribute of element 'body'.

P: n/a
Hello I am developing something along with my friends
and when I load their asp pages I am getting this error

Anybody has any idea why is the XHTML validation failing

Thanks in Advance

-Newbie
Aug 2 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
leftmargin is not an attribute of body. You should replace that with
style="margin-left: 1em;" or whatever value you have for your left margin.

You should avoid using all properties that specify how a tag should
'look', use css instead.

For a good guide to css check out http://www.w3schools.com/css/default.asp

//Mats

anonymous wrote:
Hello I am developing something along with my friends
and when I load their asp pages I am getting this error

Anybody has any idea why is the XHTML validation failing

Thanks in Advance

-Newbie

Aug 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.