marginWidth attribute (frame, iframe)
Sets the left and right margins for a frame element.
JavaScript page for this attribute: marginWidth. 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. Negative values are not allowed.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the marginWidth attribute:
|
|||||
<iframe src="frame.htm" width="250px" height="250px" marginwidth="200px"></iframe> |
|||||
|
|||||
Did you find this example helpful?
|
Supported by tags:
External links:
User Contributed Comments