aboutsummaryrefslogtreecommitdiff
path: root/test/html/render/div-100-percent-with-padding.html
blob: ef8c90a1496ee9eb9127d2a403bf964ac7e7fe0e (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
<!DOCTYPE html>
<html>
  <head>
    <title>Test padding in 100% width div</title>
    <style>
      body {margin: 0px}
      .test {
        width: 100%;
        margin: 50px;
        padding: 50px;
        background: lightgreen;
        border: solid 1px;
      }
    </style>
  </head>
  <body>
      <div class="test">
        <p>The licenses for most software and other practical works are
        designed to take away your freedom to share and change the works.
        By contrast, the GNU General Public License is intended to
        guarantee your freedom to share and change all versions of a
        program--to make sure it remains free software for all its users.
        We, the Free Software Foundation, use the GNU General Public
        License for most of our software; it applies also to any other
        work released this way by its authors. You can apply it to your
        programs, too.</p>
      </div>
  </body>
</html>