marginWidth
marginWidth
This page has been flagged with the following issues:
High-level issues:
Summary
Sets or retrieves the left and right margin widths before displaying the text in a frame.
| Applies to | ? |
|---|
Needs Examples: This section should include examples.
Notes
Remarks
Margins cannot be less than 1 pixel or so large that the text cannot be displayed. If marginWidth is specified but marginHeight is not, marginHeight is set to 0. If the document hosted in the frame or iframe has margin-left or margin-right properties set either through Cascading Style Sheets (CSS) or through the leftMargin or rightMargin properties of the body element, then this property is ignored.
Syntax
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
See also
Related pages (MSDN)
frameiframeLayoutRectmarginHeight
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here