WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 xtree scroll bar problems, Redtopia, February 19, 2004
     Re:xtree scroll bar problems, Erik Arvidsson, February 22, 2004
         Re:xtree scroll bar problems, Redtopia, February 23, 2004
         Re:xtree scroll bar problems, Redtopia, February 23, 2004
         Re:xtree scroll bar problems, Redtopia, February 23, 2004
     Re:iframe focus problem, iDRiS, February 22, 2004

Subject: Re:xtree scroll bar problems From: Erik Arvidsson Date: February 22, 2004
Since you have height 100% and top 20px the bottom edge will be 20px below the bottom. If you are using percentage heights the parent element must have a defined height as well.

You will most likely need to use JS to get the height correct since IE does not support both top and height. This works in CSS2 compatible browsers

#container {
position: absolute;
top: 20px;
bottom: 0;
left: 0;
width: 100%;
overflow: auto;
}

You might also consider adding an extra div around the original one and use padding-top to move the tree down a bit.

Vertical position in CSS really sucks.

erik



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX