1. Home
  2. Computing & Technology
  3. Web Design / HTML

XHTML Attributes - leftmargin

By Jennifer Kyrnin, About.com

leftmargin:

Sets the left and right margins in the Web browser. This is a Microsoft IE only attribute. It has been deprecated in favor of style sheets.

Used with Elements:

Content:

number - in pixels, the default is 10

Default:

Not required

Deprecated in XHTML 1.0:

Not part of the standard

DTD:

None

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. XHTML Attributes - leftmargin - non-standard Attribute

©2008 About.com, a part of The New York Times Company.

All rights reserved.