Aesthetics - reduce gap between header and comments.

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
cyberdyne
Posts: 7
Joined: Mon Nov 02, 2009 4:54 pm

Aesthetics - reduce gap between header and comments.

Post by cyberdyne »

Script URL: h**p://www.spunkymonkeys.co.uk/guestbook
Version of script: 1.7
Hosting company: ServerCentre.net
URL of phpinfo.php: h**p://www.spunkymonkeys.co.uk/php/phpinfo.php
URL of session_test.php: h**p://www.spunkymonkeys.co.uk/php/session_test.php
h**p://www.spunkymonkeys.co.uk/php/session_test2.php
What terms did you try when SEARCHING for a solution: css style spacing header body

Write your message below:

I bought a license for the guestbook today as a test proved it ideal for my needs. So, many thanks first.

Secondly, I am looking for a way of reducing the gap see between the header and the comments section (and sign form). I have looked through the style.css files and cannot find what I need.

If you look at my guestbook main page, there is a large gap between the total number of comments and the section in which the comments begin - which I'd like to reduce to a minimum if possible.

Any help greatly appreciated.
Many thanks
cd

ps: I hope you don't mind that I've commented out the http links. I have found in the past that forums can greatly affect search engine listings if the url is listed a number of times.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello cyberdyne,

In the style.css file find this line

Code: Select all

#gbook_header{width:600px; height:150px; margin:0 auto; background-image:url(images/book.png); background-repeat:no-repeat;}
change the height to the desired height.
As you are not using the image, you can also remove the background properties.
The new line could look something like this

Code: Select all

#gbook_header{width:600px; height:100px; margin:0 auto;}
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.
cyberdyne
Posts: 7
Joined: Mon Nov 02, 2009 4:54 pm

Post by cyberdyne »

Henrie wrote:Hello cyberdyne,

..//..

Greetings,
Henrie
I can't believe I missed that !!!

Thanks very much for your help
:)
Post Reply