1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
4 <title>CSS Block Box Model: sane horizontal box model and minimum widths
</title>
5 <style type=
"text/css">
6 .container { width: 5em; }
7 .test { margin-left: 0; border-left: none
; padding-left: 2em; width: auto
; padding-right: 2em; border-right: none
; margin-right: 0; }
8 .control { margin-left: 0; border-left: none
; padding-left: 0; width: 5em; padding-right: 0; border-right: none
; margin-right: 0; }
9 div
{ background: navy
; height: 1em; }
13 <p>The following two DIVs should be the same width (resulting in a single
5 by
2 block).
</p>
14 <div class=
"container">
15 <div class=
"test"></div>
17 <div class=
"control"></div>