Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
This is because you have the height and overflow set on the div #left, but are changing the visible div within it, when the tab is pressed. Because the scrollbar it attached to #left, naturally it is staying in the same place.
If you place a common class on all of the dynamic divs (the ones that are being hidden and revealed), then remove the overflow from #left, then place in on the new class, your problem should be solved. Of course, for this to work, you will need to set a height on the new class, to make it fill up #left completely.
Last edited by wayfarer07; 08-14-2008 at 02:14 PM..
|