1
DerekM
Help in 2.05
  • 2003/10/20 0:28

  • DerekM

  • Just popping in

  • Posts: 13

  • Since: 2003/7/22


I have a page but when i include the header and footer and mainfile the letters are big on the side, here.

http://www.thederek.com/cl/modules/content/guestbook.php

Whats wrong?

2
ackbarr
Re: Help in 2.05

in looking at the resulting html source from your page, it appears that you have duplicate <body> tags declared in your document:

le="color: #000000"><?php <body bgcolor="#000000"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!--Head Contents Snipped for brevity--> </head> <body>

when you include header.php you get all the standard XOOPS Header and Sidebar information, so adding a second body tag is unnecessary. The first line should actually be the <!--DOCTYPE --> line.