View Full Version : centering a page

03-08-2007, 12:29 AM
No, this is not a post on "how can I center my pages".

My webpages are all centered, but some are "higher than others" and need to have a scrollbar. What this do is shifting the entire page 4 to 6 pixels to the left, and this is annoying.

Is there a way to make it not shift to the left?

thank you in advance

03-08-2007, 02:22 AM
sorry didnt get that. do you have a link so we can see the problem?

03-08-2007, 09:37 AM
i know what you mean.

and no basically theres no way to stop that unless you make your whole site in flash.

if you have a fixed height website - you can use some css expression to center the page vertically and horizontally according the to the monitor resolution

i've done it for a friends site that i made

check out the css

03-08-2007, 12:26 PM
This is a nice site, but it is not what I am looking for.

Since my site is not on the internet for now, I can not show it to you, but when I come back home, ill post my zip file on the forum.

03-08-2007, 12:52 PM
The shift you see is because the scrollbar appears when the page is taller than the viewport. This might be annoying to you, but expected behavior. Every webpage works like that, and really not a problem :)