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

XHTML Attributes - marginheight

By Jennifer Kyrnin, About.com

marginheight:

Sets the top and bottom 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 0

Default:

Not required

Deprecated in XHTML 1.0:

Yes

DTD:

HTML 4.0

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 - marginheight - non-standard Attribute

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

All rights reserved.