aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-multicol-1_dev/html4/reference/multicol-nested-margin-002-ref.htm
blob: 9453d71088783e4fd0db6f4ecc0de09bb6973b42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Opera Software ASA" href="http://www.opera.com/">
  <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2013-08-14 -->
  <meta name="flags" content="">
  <style type="text/css">
  body {margin: 0em;}

  div
  {
  background-color: yellow;
  font: 1.25em/1 serif;
  height: 5em;
  position: relative;
  width: 41em;
  }

  div > div
  {
  background-color: blue;
  font: inherit;
  height: 3em;
  position: absolute;
  top: 0em;
  width: 2em
  }

  div#first-blue
  {
  background-color: blue;
  left: 29em;
  }

  div#second-blue
  {
  background-color: blue;
  left: 33em;
  }

  div#third-blue
  {
  background-color: blue;
  height: 2em;
  left: 37em;
  }
  </style>
 </head>
 <body>

  <div>
    <div id="first-blue"></div>
    <div id="second-blue"></div>
    <div id="third-blue"></div>
  </div>

 </body>
</html>