rightMargin attribute (body)
Sets the right margin for the document body in pixels.
This attribute is deprecated. Use the margin-right style property instead.
JavaScript page for this attribute: rightMargin. You can find other example(s) there. |
Possible values:
String that sets the width of the margin, with an integer optionally followed by a 'px' (pixel) unit designator.
Default: 10.
Example HTML code 1:
This example illustrates the use of the rightMargin attribute:
|
||||
<body rightmargin="100px"> RightMargin=100px </body> |
||||
|
||||
Did you find this example helpful?
|
Example HTML code 2:
Recommendation:
|
||||
<body style="margin-right:100px; text-align:right;"> The right margin is 100px </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
Related pages:
External links:
User Contributed Comments