21 lines
599 B
HTML
21 lines
599 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
|
<html lang="en">
|
|
<head>
|
|
<title>Margin Collapsing: in flow (simple)</title>
|
|
<style type="text/css">
|
|
.ahem { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
|
|
/* test */
|
|
.test { margin: 1em; background: green; font: 40px/1 Ahem; width: 3em; }
|
|
.test div { color: white; margin: 1em; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="ahem">Ahem_font_required_for_this_test.</div>
|
|
<p>There should be a big square green H below:</p>
|
|
<div class="test">
|
|
<div>X</div>
|
|
<div>X</div>
|
|
</div>
|
|
</body>
|
|
</html>
|