My favorites | Sign in
Project Logo
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-css, is-css-property, from-w3c
MarginLeftCSSProperty  
The margin-left property sets the left margin of a box.

You are here: Home > CSS Reference > Properties > margin-left

Usage

Values

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
style.marginLeft reflects <div style='margin-left: 0'> N N N N N N Y N
style.marginLeft reflects <div style='margin-left: 1cm'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: 1em'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: 1ex'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: 1in'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: 1mm'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: 1pc'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: 1pt'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: 1px'> Y Y Y Y Y Y Y Y
style.marginLeft reflects <div style='margin-left: 42%'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: auto'> Y Y Y N N N Y N
style.marginLeft reflects <div style='margin-left: none'> N N N N N N Y N

Further reading


Sign in to add a comment
Hosted by Google Code