aboutsummaryrefslogtreecommitdiff
path: root/test/html/render/multiple-floats.html
blob: fe4066ca961e34aa2103260766380729301251a6 (plain)
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
<!DOCTYPE html>
<html>
  <head>
    <title>Test multiple floats</title>
    <style type="text/css">
      .container {
        width: 200px;
      }

      .left, .right {
        width: 100px;
        height: 100px;
        background-color: orchid;
      }

      .left {
        float: left;
      }

      .right {
        float: left;
      }
        </style>
    </head>
    <body>
      <div class="container">
        <div class="left"></div>
        <div class="right"></div>
      </div>
    </body>
</html>