Jump to: navigation, search

Applies to  ?



Margins cannot be less than 1 pixel or so large that the text cannot be displayed. If marginHeight is specified but marginWidth is not, marginWidth is set to 0. If the document hosted in the frame or iframe has margin-top or margin-bottom properties set either through Cascading Style Sheets (CSS) or through the topMargin or bottomMargin properties of the body element, then this property is ignored.


See also

Related articles


… further results"html" is not in the list of possible values (Canvas, CSS Font, CSS Layout, Animation, Audio, Background, Border, Box Model, CSS Attributes, CSSOM, Combinators, Deprecated, Document Structure, Exclusions, FileSystemAPI, Filters, Flexbox, Fonts, Generated and Replaced Content, Gradients, Grid Layout, HTML, Multimedia, Media Queries, Mobile, Multi-Column, Off-line Storage, Paged Media, Performance, Pointer Events, Pseudo-Classes, Pseudo-Elements, Regions, Responsive Web Design, Ruby, Scrollbar, Selectors, Security, Shapes, Syntax, Tables, Text, Touch, Transforms, Transitions, Video, Visual Effects, Web Components, WebRTC, XHR) for this property.

Related pages (MSDN)


This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]