blob: 4dba1d00dc16dcb4e22829137f22cd5563d44482 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
<head>
<title>CSS Block Box Model: overconstrained horizontal box model and minimum widths</title>
<style type="text/css">
.container { width: 3em; }
.test { margin-left: 0; border-left: none; padding-left: 2em; width: auto; padding-right: 2em; border-right: none; margin-right: 0; }
.control { margin-left: 0; border-left: none; padding-left: 0; width: 4em; padding-right: 0; border-right: none; margin-right: 0; }
div { background: navy; height: 1em; }
</style>
</head>
<body>
<p>The following two DIVs should be the same width (resulting in a single 4 by 2 block).</p>
<div class="container">
<div class="test"></div>
</div>
<div class="control"></div>
</body>
</html>