W3C home > Mailing lists > Public > www-style@w3.org > July 2002

CSS3-box: margin-outside and the cascade

From: fantasai <fantasai@escape.com>
Date: Wed, 17 Jul 2002 01:01:50 -0400
Message-ID: <3D34FA3D.49E31331@escape.com>
To: www-style@w3.org

http://www.w3.org/TR/2001/WD-css3-box-20010726/#the-margin :
 |
 | 'Margin-inside' and 'margin-outside' are aliases for 'margin-left' or
 | 'margin-right', depending on the current medium:
 |
 | * in paged media [link], 'margin-inside' sets 'margin-left' for those
 | parts of an element that fall on a right-hand page and 'margin-right'
 | for the parts on a left-hand page. 'Margin-outside' is the reverse

Given

  element {
    margin-left: 1em;
    margin-inside: 0;
  }

  [attribute] {
    margin-outside: 2em;
    margin-right: .5em;
  }

and

  <element attribute="number">
    Contents of 'element'
  </element>

and

  element falls on the left-hand page


1. How wide are the margins?

1.a. How do you know?
Received on Wednesday, 17 July 2002 00:58:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:15 GMT