summaryrefslogtreecommitdiffstats
path: root/layout/reftests/margin-collapsing/inline-block-horizontal-1.html
blob: 243bc129636c1d2bf10a9a5534691266a647a353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
 font-family: sans-serif;
}
#ib1 {
 display: inline-block;
 margin-right: 20px;
}
#ib2 {
 display: inline-block;
 margin-left: 10px;
}
</style>
</head>
<body>
<div><span id="ib1">Hello</span><span id="ib2">Kitty</span></div>
</body>
</html>