Page 1 of 1

Another problem with header.txt

Posted: Thu Mar 20, 2008 11:51 pm
by lobmbc
Hi

i'm having a spot of bother using header.txt

we have a pair of .html files which are left and right columns which we "include" in our webpages.

We've got them included by adding includes into header.txt but the gbook is overlapping the right hand column.

I've tried adding the includesdirectly into the gbook.php file but I get exactly the same result.

Its bound to be something daft.

www.lobmbc.com/gbook/gbook.php

clues appreciated!

Kev

Posted: Fri Mar 21, 2008 12:41 am
by Henrie
This is not really a GBook problem, but I will help you anyway.

in style.css in the gbook folder find

Code: Select all

div.centered {
	text-align: center;
}
and change it to

Code: Select all

div.centered {
	text-align: center;
	margin-right: 110px;
}
Greetings,
Henrie

Henrie You are a star!

Posted: Fri Mar 21, 2008 11:23 am
by lobmbc
Henrie You are a star!

never even thought to look there, too busy thinking it was within gbook.php

Many thanks, problem solved.

Kev :D

Posted: Fri Mar 21, 2008 4:09 pm
by Henrie
If GBook was oke before changing the header.txt file and if GBook does not look good after changing the header.txt file the problem is almost always in the code in the header.txt file. So no need to look in the gbook.php file when header.txt file is the only file that has been changed.

Greetings,
Henrie