blob: 7aa35b9245f15e33dd111a6f2c5b32748c7f9e3a (
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
48
49
50
51
52
53
54
|
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
html {
height:100%;
margin:0;
padding: 0;
}
body {
height:100%;
margin: 0;
padding: 0;
overflow:hidden;
position:relative;
left:0;
}
nav {
display:block;
position:absolute;
top:0;
left:0;
bottom:auto;
width:280px;
height:100%;
z-index:1000;
}
.nav-menu-inner-container {
position:relative;
height:100%;
}
.nav-menu-scroll-pane {
bottom:100px;
overflow-y:scroll;
position:absolute;
top:0;
width:254px
}
</style>
</head>
<body>
<nav class="moz-global-nav-drawer">
<div class="nav-menu-inner-container">
<div class="nav-menu-scroll-pane">
<div style="height: 5000px">
Scroll here and look for the scrollbar
</div>
</div>
</div>
</nav>
</body></html>
|