aboutsummaryrefslogtreecommitdiff
path: root/test/html/render/margin-auto.html
blob: 560234c08b95c9821e3d989139441f2ec66441dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
  <head>
    <title>Test CSS margin auto</title>
    <style>
      div {height:100px}
      .container {width:300px; background: lightgreen}
      .child {width:100px; background: brown; margin:auto }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="child"></div>
    </div>
  </body>
</html>