|
I tried what you said at first Jaeger, but the problem is that only some of my pages have vertical scrollbars, and the page slightly jumps to the new center when the user goes to a pages with a vertical scrollbar.
I was using javascript combined with css to find a center value based on the viewers resolution and use absolute coordinates to set it to the center.
I've tried using the overflow : scroll css thing but that isn't compatible with browsers, other than IE, and I have yet to find a way to correctly keep vertical scrollbars always on in other browsers.
As a side question, is there anyway to pass javascript values to php or pass php values to css?
|