- From: Ian Hickson <py8ieh@bath.ac.uk>
- Date: Wed, 3 Mar 1999 22:34:34 +0000 (BST)
- To: www-style <www-style@w3.org>
Assume the following XML fragment: <CONTAINER> <TABLE> <CELL> Hello </CELL> </TABLE> </CONTAINER> Assume the following CSS: CONTAINER { direction: ltr; } TABLE { display: table; margin: 4em auto; } What will the width of the table be? As far as I can tell from the CSS2 spec, the margin-right value will be treated as auto. So: How can one specify that the TABLE must span the width of the CONTAINER, with 4em margins on either side, without changing the padding or width of the CONTAINER or adding other elements? -- Ian Hickson
Received on Wednesday, 3 March 1999 17:34:41 UTC