Page 1 of 1

Not aligning right

Posted: Wed Oct 07, 2009 5:59 pm
by RexRon
Script URL: www.rexx.eterya.com/Gbook/index
Version of script: 1.7
Hosting company: surftown.no
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Searched the forum
Write your message below:

Hello.

I have incorporated the Gbook on my site. Beautiful scritpt!!!
I would however like some help on something that many may find extremely picky :-)

Best way to describe is to show. Please follow the script URL above. Click on " View guestbook" then "Sign guestbook" then back again and so on.
In my browser the whole site shifts a bit side to side when doing so.

I am not able to figure out why this is happening.

Sincerely
RexRon

Posted: Wed Oct 07, 2009 6:44 pm
by Klemen
Maybe because the index page doesn't have scrollbar at the right but the "Sign" page does?

Posted: Wed Oct 07, 2009 6:57 pm
by RexRon
Well, don“t I feel stupid :oops:

Thank you :)
Sincerely
RexRon

Posted: Wed Oct 07, 2009 9:04 pm
by Henrie
Hi RexRon,

You could add html {overflow: scroll;} to the style.css file to allways display scrollbars, even when not needed.

To display only the vertical scrollbar, add html {overflow-y: scroll;} , but the overflow-y feature is css3 which is not official yet (as far as i know) and is not supported in xhtml. But it will work in most newer browsers.

Greetings,
Henrie

Posted: Wed Oct 07, 2009 10:21 pm
by RexRon
Thank you for the tip, Henrie.

Sincerely
RexRon