about summary refs log tree commit diff stats
path: root/test/layout/margin.html
blob: d055f865915a807e74684cae0af860467f2a31c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<style>
.claz {
	margin: 1em 2em 1em;
}
.one {
	margin: 0 auto;
        width: 10em;
}
#a {
	margin: 1em;
}
</style>
<div style="width: 1000px">
spacer
<div class=claz>left, right: 2em<br>top, bottom: 1em.</div>
spacer
<div class="clazz one">width: 10em<br>left, right: auto<br>top, bottom: 0</div>
</div>