The right way to do it is the following.
Remove the
Code: Select all
<BODY BGCOLOR="#808098" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" ALINK="#D6D6D6" LINK="#808080" VLINK="#808080" TEXT="#000000">
line from your header.txt file. The body tag is present in the gbook.php file and as mentioned before it should only be placed ones in your document.
Gbook version 1.5 is xhtml and writing tags is a little strict. However most browsers are very forgiving. But the right way is to do all place all your styling in the style sheet.
Open the style.css in your gbook folder.
find
Code: Select all
body, td {
color : Black;
background-color: White; /* NEW IN 1.5 */
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: left; /* NEW IN 1.5 */
}
and change it to (this replaces the BGCOLOR and *MARGIN styles)
Code: Select all
body {
color : Black;
background-color: #808098; /* NEW IN 1.5 */
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: left; /* NEW IN 1.5 */
margin: 0px;
}
td {
color : Black;
background-color: White; /* NEW IN 1.5 */
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: left; /* NEW IN 1.5 */
}
Then find
Code: Select all
a {
color : #0084BE;
text-decoration : underline;
}
a:hover {
color : Red;
text-decoration : none;
}
a.smaller {
font-size: 10px;
color : #0084BE;
text-decoration : underline;
}
a.smaller:hover {
font-size: 10px;
color : Red;
text-decoration : none;
}
and change it to (this replaces all the *LINK colors)
Code: Select all
a {
color : #808080;
text-decoration : underline;
}
a:hover {
color : #D6D6D6;
text-decoration : none;
}
a.smaller {
font-size: 10px;
color : #808080;
text-decoration : underline;
}
a.smaller:hover {
font-size: 10px;
color : #D6D6D6;
text-decoration : none;
}
That's it. So no need to edit the gbook.php file.
Greetings,
Henrie