Forum Moderators: open
How ya all doing? Good I hope.
Anyways..
I have a page which is working well. The only minor problem I am experiencing is that when the contents of my pages extends past the bottom of the browser window a scrollbar appears (which is what I want). The problem being that the vertical scrollbar moves the contents of my page over to the left by however many px the scrollbar takes up. IE and Opera already have a scrollbar so it's not such a problem in those two.
Ideally I would like to get rid of the scrollbars in all browsers and somehow conpensate for this using html and css. Is this possible?
If not I would like to make the scrollbar stay where it is at all times. This would stop my pages contents from moving I guess.
Hope someone answers this,
rich
CSS:
#scroll {
position:absolute;
top:0;
bottom:-0.1px;
width:1em;
z-index:-1;
}
And (X)HTML:
<div id="scroll"></div>
Yes, it's a hack - but it's a helpful one.