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:

<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.

Login

Who's Online

237 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 237


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits