Forum Moderators: not2easy
I have a container div, a left div (absolute), a right div (absolute), a center div(relative).
There is a sub-container in the center div.
When a internal link is clicked, the spacing between the container and the center div goes away.
I tried between padding on the container div, margin-top on the center div, top on the center div, and margin-top on sub-container div, top on the sub-container div.
No matter which way I do it, the spacing goes away once the internal link is clicked.
In IE6 if I click the link then refresh (f5) it fixes it self. If I click the addy bar with the # link there and press enter, problem reoccurs.
When I had the spacing on the container div, the top content in the right div got cut off on the top.
I'm utterly baffled.
I'm using IE6 and FF3. Behavior same in most cases.
Also, the amount the right div moves up is equal to however much the spacing is.
If I set the spacing to something big, like 250px, then when I click the #link it doesn't make it all the way to the top on IE6. It only jumps up so far, but it doesn't appear to be a fixed jump.
On FF, it doesn't matter how big I set the top, it will show up at the top when I click the # link.