||View All MessagesBack to WebFX|
The parent element is <body>. Would it help to put the xtree in a table? Also, I'm not sure how to use JS to get the height correct, as you suggested. An extra <div with padding-top:20 doesn't seem to work either.
From: Erik Arvidsson
Sent: Feburary 22, 2004
Subject: Re:xtree scroll bar problems
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
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.