mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
26 lines
816 B
HTML
26 lines
816 B
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||
|
"http://www.w3.org/TR/html4/strict.dtd">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
||
|
<title>Inconsistency testcase</title>
|
||
|
<style type="text/css">
|
||
|
div { margin-left: auto; margin-right: auto; margin-top: 1em; }
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<p>All divs have margin-left and margin-right set to auto.<p>
|
||
|
<div style="width: 400px; border: 4px dashed green;">
|
||
|
<p style="text-align: center; font-weight: bold;">Containing block (400px)</p>
|
||
|
|
||
|
<div style="width: 500px; border-top: solid thin red; border-bottom: solid thin red;">
|
||
|
500px-wide div without left or right border
|
||
|
</div>
|
||
|
|
||
|
<div style="width: 500px; border: solid thin red;">
|
||
|
500px-wide div with left and right border
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|