-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylewfooter.html
93 lines (89 loc) · 1.7 KB
/
stylewfooter.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<title> Layout tests</title>
<style>
body {margin : 0;
}
.testdiv{
display: inline-block;
Margin: 0px;
border: 0px dashed red;
outline: grey solid 2px;
padding 0px;
background-color: #bbbbbb;
width: 49%;
}
#div1 {
display: none;
}
#alertBox {
display: block;
width : 100%;
height : 100px;
position : fixed;
bottom : 0%;
left : 0px;
z-index : 100;
margin-top: -60px;
background-color: #fff;
}
#navbar{
width: 100%;
Height: 50px;
padding: 0px;
margin: 0px;
}
#navbar ul {
width:100%;
list-style-type: none;
padding: 0px;
}
#navbar li {
background-color: cornflowerblue;
padding: 0px;
display: block;
}
#navbar a {
width: 20%;
margin : 2px;
float: left;
border: 10px groove red:
}
#greyout {
background-color: #000000;
width: 100%;
height: 100%;
position: fixed;
top: 0px;
left: 0px;
z-index: 10;
display: none;
}
#insideBlock {
top: 50px;
left: 25px;
display: block;
position: absolute;
}
</style>
</head>
<body>
<div id='div1' class='testdiv'>
here is the content of div 1 when the content is longer than the screen, the background color can overrun by wrapping</div>
<div id='navbar'>
<ul>
<li><a href="">Item 1</a></li>
<li><a href="">Item 2</a></li>
<li><a href="">Item 3</a></li>
<li><a href="">Item 4</a></li>
</ul></div>
<div id='alertBox' class='testdiv' align='center'>
This is now a placement container.
<div id='insideBlock'> More Content here
</div>
</div>
<div id='greyout' class='testdiv'>
</div>
</body>
</html>