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

XHTML Attributes - topmargin

By Jennifer Kyrnin, About.com

topmargin:

Sets the top margin 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 15

Default:

Not required

Deprecated in XHTML 1.0:

Yes

DTD:

Not part of the standard

Explore Web Design / HTML

More from About.com

  1. Home
  2. Rel nofollow - What does this mean?
  3. HTML Link Tag
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. XHTML Attributes - topmargin - non-standard Attribute

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

All rights reserved.