asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > LEFTMARGIN Attribute

LEFTMARGIN Attribute | leftMargin Property


Internet Explorer® only.

Sets or retrieves the left margin for the document BODY relative to the page.

Syntax

Inline <body LEFTMARGIN = sMargin...>
Script body.leftMargin = sMargin ]

Possible Values

sMargin String specifying the margin in pixels.

The property is read/write with a default value of 10.

Remarks

If the value is set to zero [ 0 ] or an empty string [ "" ] , the left margin will be exactly on the left edge of the window or frame.

Applies To

BODY

See Also

topMargin



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note