Menu
margin-left:auto;
margin-right:auto;
anybody know a alternitive ?
[i]Originally posted by gert cuykens [/i]IE would agree with you (hence the purpose of the box model hack). W3.org says width + padding + border = horizontal box size
[B]anyway you have to agree that you would suspect that width 800 + 300 padding = width 800 right ? [/B][/QUOTE]
[i]Originally posted by gert cuykens [/i]...but not inside the content of the box...
[B]but the padding is inside the box [/B][/QUOTE]
[i]Originally posted by gert cuykens [/i]well, that's just the way it is. ?
[B]it would make more sense if it was width + margin + border = horizontal box size but not padding ? [/B][/QUOTE]
but not inside the content of the box[/QUOTE]
[i]Originally posted by gert cuykens [/i]
[B]it would make more sense if it was width + margin + border = horizontal box size but not padding[/B][/QUOTE]
<i>
</i>#content {
width: 400px;
padding: 20px;
}
</style>
</head>
<body>
<div id="content">
<table width="100%">
.
.
.
</table>
</div>
0.1.9 — BETA 6.17