blob: 28d4be70201ca747b6afd0745e848949264e5c96 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<style>
ul {
margin: 0;
padding: 0;
text-align: center;
list-style-type: none;
}
a {
color: black;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#contents {
position: relative;
overflow: hidden;
}
#links {
width: 110px;
float: left;
padding: 5px;
}
#background {
width: 120px;
position: absolute;
float: left;
left: 0;
bottom: 0;
top: 0;
background: cyan;
border: 1px solid black;
z-index: -10000;
}
</style>
<body>
<div id=contents>
<div id=links>
<ul>
<li><a href="welcome.html">Home 1</a></li>
<li><a href="welcome.html">Home 2</a></li>
<li><a href="welcome.html">Home 3</a></li>
</ul>
</div>
<div id=background></div>
</div>
</body>
|