Not aligning right

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
RexRon
Posts: 3
Joined: Wed Oct 07, 2009 5:44 pm

Not aligning right

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Maybe because the index page doesn't have scrollbar at the right but the "Sign" page does?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
RexRon
Posts: 3
Joined: Wed Oct 07, 2009 5:44 pm

Post by RexRon »

Well, don´t I feel stupid :oops:

Thank you :)
Sincerely
RexRon
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
RexRon
Posts: 3
Joined: Wed Oct 07, 2009 5:44 pm

Post by RexRon »

Thank you for the tip, Henrie.

Sincerely
RexRon
Post Reply