views:

144

answers:

2

Hi,

this is more like a question of principle.

I made a table with 100% width and height to make 3 rows nice and auto-resizable (welcome to xhtml :D).

When I begin to toggle() some elements, the total size of the page changes, and my browser resets its scroll offset and scrolls all the way to the top of the page.

Is there some way to prevent scrolling, except making a JS function to calculate the scroll offset and make it jump to its previous offset? I don´t want to mess around with 3 divs, trying to align them automatically in their height.

A: 

delete href="#" :P

koko
A: 

Try adding

html
        {
            overflow:scroll;
        }

to your CSS, or playing with those settings.

Catdirt