Scrollbar of DIV with position FIXED is partly hidden behind window scrollbar
Posted
by Aaron Digulla
on Stack Overflow
See other posts from Stack Overflow
or by Aaron Digulla
Published on 2010-05-13T17:32:10Z
Indexed on
2010/05/13
17:34 UTC
Read the original article
Hit count: 470
I have a table of contents in my page (see here) with these CSS styles:
div.toc {
height:38em;
position:fixed;
right:0;
top:5em;
width:21em;
z-index:1;
}
How do I have to change these settings to make sure the DIV isn't partially hidden behind the body/window scroll bar?
(Tested with Firefox 3.6 and Opera 10.10).
© Stack Overflow or respective owner