Westciv Logo

These materials are copyright Western Civilisation Pty Ltd.

www.westciv.com

They are brought to you courtesy of Style Master CSS Editor and Westciv's standards based web development courses.

Please see our website for detailed copyright information or contact us [email protected].

browser support

Margin and padding properties

More information, with detailed browser support notes, is included in the full version of our CSS Guide. This full version of the guide, available for purchase and download for just $24.99, is a complete reference to all of the CSS2 specification, with all the browser support information integrated alongside the descriptions of the properties and selectors.

These notes are also available as online help in both our CSS editor Style Master. Both these applications allow you to target certain browsers as you develop, and see where CSS design decisions you make may not work in some browsers.

Margin & padding properties browser support
Browser Internet Explorer Netscape Gecko Safari Opera
Platform Windows Mac All All All All
Version 4.0 5.0 5.5 6.0 7.0 5.0 4.x 1.0+ 1.2+ 7.0 +
margin B B Y Y Y Y Y Y Y Y
margin-top B B Y Y Y Y B Y Y Y
margin-left B B Y Y Y Y B Y Y Y
margin-bottom B B Y Y Y Y B Y Y Y
margin-right B B Y Y Y Y B Y Y Y
padding B B Y Y Y Y B Y Y Y
padding-top B B Y Y Y Y B Y Y Y
padding-left B B Y Y Y Y B Y Y Y
padding-bottom B B Y Y Y Y B Y Y Y
padding-right B B Y Y Y Y B Y Y Y

Y=supported, P=partial, B=buggy, N=no. For details see here.