I have created a simple html footer and saved it as footer.php
At the end of my pages, I have included the statement
<?php
include 'footer.php';
?>
Works great on the main page, but when I append it to the end of another file, it jacks up the CSS badly.. (i'm not using a seperate stylesheet yet, the CSS is embedded into each page)
heres the footer
<html>
<style type="text/css">
.style1 {color: #ffffff}
</style>
<body>
<table width="777" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" bgcolor="#666666"><div align="center">
<p class="style1">Copyright ©2008 Quick Video Marketing</p>
</div></td>
</tr>
<tr>
<td width="275" bgcolor="#666666"><div align="center" class="style1">Legal Information</div></td>
<td width="250" bgcolor="#666666"><div align="center" class="style1">Support</div></td>
<td width="252" bgcolor="#666666"><span class="style1"><a href="privacy.php">Privacy Statement</a></span></td>
</tr>
</table>
</body>
</html>
and here is the page I'm trying to get to work
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #666666;
}
.style1 {
font-size: 36px;
font-weight: bold;
color: #993333;
}
.style2 {font-size: 12px}
-->
</style>
</head>
<body>
<script language=="javascript">
<!--
function CONFIRM(){if (!confirm
("Thank You for Signing up. You will receive an email shortly with your FREE Bonues. If the email does not arrive, check your SPAM folder, and add support@quickvideomarketing.com to your safelist."))
history.go(-1);return " "}
document.writeln(CONFIRM())
<!-- END -->
</script>
<table width="777" height="423" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="777" height="415"><table width="777" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><p align="center"><img src="images/QVM-logo2.gif" width="704" height="245" /></p>
</td>
</tr>
</table>
<table width="777" height="64" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="56"><table width="777" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><span class="style1">CONGRATULATIONS!</span></div></td>
</tr>
</table>
<p align="center">You've taken the first step in becoming successful with Quick Video Marketing. Now here's your first bonus</p>
<p align="center"> </p>
<table width="450" border="5" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8"
width="450" height="367"
id="theMediaPlayer">
<param name=movie value="http://www.quickvideomarketing.com/theater/flvplayer.swf">
<param name=quality value="high">
<param name=bgcolor value="#FFFFFF">
<param name=allowFullScreen value="false">
<param name=swLiveConnect value="true">
<param name="FlashVars" value="file=http://www.quickvideomarketing.com/theater/uploads/UAMfvydEOJ2wWjAWlxJO.flv&width=450&height=367&displaywidth=450&displayheight=347&overstretch=true&autostart=true&showfsbutton=false&logo=http://www.quickvideomarketing.com/theater/image_s/playerlogo.png&link=http://www.quickvideomarketing.com/theater&linktarget=_blank&backcolor=0xFFFFFF">
<embed type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
width="450" height="367" bgcolor="#FFFFFF"
name="theMediaPlayer"
src="http://www.quickvideomarketing.com/theater/flvplayer.swf"
flashvars="file=http://www.quickvideomarketing.com/theater/uploads/UAMfvydEOJ2wWjAWlxJO.flv&width=450&height=367&displaywidth=450&displayheight=347&overstretch=true&autostart=true&showfsbutton=false&logo=http://www.quickvideomarketing.com/theater/image_s/playerlogo.png&link=http://www.quickvideomarketing.com/theater&linktarget=_blank&backcolor=0xFFFFFF">
</embed>
</object></td>
</tr>
</table> <p align="center"> </p></td>
</tr>
</table>
<table width="623" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="763"><strong>
<script language="javascript">
function form_validation1()
{if (document.form1.Name.value == "")
{
alert('Please enter the Name');
document.form1.Name.focus();
return false;
}if (document.form1.Email.value == "")
{
alert('Please enter the Email');
document.form1.Email.focus();
return false;
}return true; } </script>
</strong>
<p><strong>Dear Future Affiliate,</strong> </p>
<p><br />
My reseller program is designed to be simple and make you money!</p>
<p align="center"> <br />
<strong>Here’s how it works: NO Hassle NO Strings</strong></p>
<p><br />
Anyone can become an affiliate with NO obligation to join. I want to give you the opportunity to generate a profit and for those who can’t afford to join earn a membership with <strong><em>just</em></strong> 2 sales. </p>
<p> </p>
<ul>
<li>Fill out the form above with your name and email</li>
</ul>
<p> </p>
<ul>
<li>Send future members to <strong><em>your</em></strong> specific link </li>
</ul>
<p> </p>
<ul>
<li>Once the purchase through your link is verified you will be paid</li>
</ul>
<p> </p>
<ul>
<li>Affiliate payout is $300 for every confirmed sale</li>
</ul>
<p> </p>
<ul>
<li>Let the experts at Quick Video Marketing do the rest </li>
</ul>
<p> </p>
<p align="center" class="style2">Note: You cannot personally signup under your own affiliate account. Not combined with any other offer. </p>
<p> </p>
<p> </p>
<div align="center">
<p>
<script language="javascript">
function form_validation1()
{if (document.form1.Name.value == "")
{
alert('Please enter the Name');
document.form1.Name.focus();
return false;
}if (document.form1.Email.value == "")
{
alert('Please enter the Email');
document.form1.Email.focus();
return false;
}return true; } </script>
<a href="http://www.quickvideomarketing.com/cmd.php?cmd=signup">Sign Me Up! </a></p>
<p><a href="thanks.php">No Thanks, I Just Want in the Program </a></p>
</div></td>
</tr>
</table> <p> </p></td>
</tr>
</table>
<?php
include 'footer.php';
?>
</body>
</html>
]
the results can be found at www.quickvideomarketing.com and www.quickvideomarketing.com/step2.php
Ideas?