What's new?
|
Help
|
Directory
|
Sign in
doctype
Documenting the open web
Project Home
Wiki
Issues
Source
Search
Search Within:
All Wiki Pages
Featured Pages
Current Pages
Deprecated Pages
for
Updated
Sep 19, 2008
by
pilgrim
Labels:
about-css
,
is-css-property
,
from-w3c
MarginRightCSSProperty
The margin-right property sets the right margin of a box.
You are here:
Home
>
CSS Reference
>
Properties
>
margin-right
Usage
Values
<margin-width>
inherit
Browser compatibility
Compatibility table legend
Test
IE8
IE7
IE6
FF3
FF2
Saf3
Op9
Chrome
style.marginRight reflects <div style='margin-right: 0'>
Y
Y
Y
Y
Y
Y
Y
Y
style.marginRight reflects <div style='margin-right: 1cm'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: 1em'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: 1ex'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: 1in'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: 1mm'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: 1pc'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: 1pt'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: 1px'>
Y
Y
Y
Y
Y
Y
Y
Y
style.marginRight reflects <div style='margin-right: 42%'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: auto'>
Y
Y
Y
N
N
N
Y
N
style.marginRight reflects <div style='margin-right: none'>
N
N
N
N
N
N
Y
N
Further reading
The margin-right property in CSS 2.1
The margin-right property on MSDN
The history of the margin-right property on blooberry.com
The margin-right property on the SitePoint CSS Reference
Sign in
to add a comment