PDA

View Full Version : problem removeing repeating image at bottom of page



realignorent
28 Feb 2011, 12:33 PM
for some reason at the bottom of my page the cntmid.jpg that i have behind my table is repeating at the bottom of the page and i cant stop it from showing at the bottom of the page can anyone help out please


the link is http://lilions.com/contact/


SOME OF THE CODE ISN'T HERE cause it wont fit so please view page source





<code>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">




<html>



<br></br><br></br>



<img src="http://lilions.com/home/images/tpc.jpg"><img src="http://lilions.com/home/images/cnttp.jpg"><center><table width=1000 height=450><td


background="http://lilions.com/home/images/cntmid.jpg"></center><center><font color="#FFFFFF"><table border="3" bordercolor="FFFFFF" width="630"


bgcolor="000000"></br><td><p><i><b><center><font color="#FFFF00">donbonacorsa@yahoo.com <donbonacorsa@yahoo.com></center></b></i></p></font>

<?php

if ($_POST["email"]<>'') {

$ToEmail = 'donbonacorsa@yahoo.com';

$EmailSubject = 'Site contact form from www.LiLions.com';

$mailheader = "From: ".$_POST["email"]."\r\n";

$mailheader .= "Reply-To: ".$_POST["email"]."\r\n";

$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n";

$MESSAGE_BODY = "Name: ".$_POST["name"]."<br>";

$MESSAGE_BODY .= "Email: ".$_POST["email"]."<br>";

$MESSAGE_BODY .= "Comment: ".nl2br($_POST["comment"])."<br>";

mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure");

?>

<center><h4><b>

Your message was sent </center></h2>

<?php

} else {

?>

<form action="index.php" method="post"><table width="630" border="0" cellspacing="2" cellpadding="0">

<h4>

<center>


<p>Have questions or comments? Please feel free to fill in the form below to send me an email.</p>

</center>

</h4>


<center></h4><div id="content">


<p><tr align="center"><center>

<td width="29%" class="bodytext">Your Name (required):</td></tr>

</center>

<tr align="center"><center>

<td width="71%"><input name="name" type="text" id="name" size="32"></td></tr>

</center>

</p>


<p><tr align="center"><center>

<td class="bodytext">Your Email (required)</td></tr>

</center>

<tr align="center"><center>

<td><input name="email" type="text" id="email" size="32"></td></tr>

</center>

</p>


<p><tr align="center"><center>

<td class="bodytext">Subject</td></tr>

</center>

<tr align="center"><center>

<td><input name="subject" type="text" id="subject" size="32"></td></tr>

</center>

</p>


<p><tr align="center"><center>

<td class="bodytext">Comment:</td></tr>

</center>

<tr align="center"><center>

<td><textarea name="comment" cols="45" rows="6" id="comment" class="bodytext"></textarea></td></tr>

</center>

</p>


<p><tr align="center"><center>

<td class="bodytext">&nbsp;</td></tr>

</center>

<tr><center>

<td align="center" valign="top"><input type="submit" name="Submit" value="Send"></td></tr>

</center>

</p></table></tr></td></form>



</div>

</b>

</h3>

</table>

<?php

};

?>

</body>


</html>



<center>

<img src="http://lilions.com/home/images/cntbtm.jpg">

</center>


</code>

cadenuo
28 Feb 2011, 06:22 PM
im new here but if it was me here is how i added a background to my form within a table i surrounded it with a div and gave it an id then made this in css

div #your id name
{
height:555px;height of img
width:514px;width of img
background-image:url(your img);
background-repeat:no-repeat;no repeat

this should work for ya
again im new but this worked for me
}