My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 166 attachment: defaultMarginTest.html (809 bytes)

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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Default margin test</title>
<style type="text/css">
body.example {
margin: 0;
padding: 0;
border: 1px solid red;
}
ul {
list-style: none;
}
ul.default {
border: 1px solid green;
}
ul.margin {
border: 1px solid blue;
margin-left: 40px;
}
li {
margin: 0;
padding: 0;
}
</style>
</head>
<body class="example">
<ul class="default">
<li>UL margin test</li>
<li>a</li>
</ul>
<div style="height:1px;background-color: #000"></div>
<ul class="margin">
<li>UL margin test</li>
<li>a</li>
</ul>
</body>
</html>
Powered by Google Project Hosting