View Single Post
  #1 (permalink)  
Old Sep 29th, 2006, 18:09
CSpoon CSpoon is offline
New Member
Join Date: Sep 2006
Location: Canada
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
cell won't align to top vertically

Hi, I have some content that won't vertically align.
I want content (HOT DEALS, etc.) in the left column to align at the top when the page is stretched, say by adding more text on the right.
The left cell includes a graphic image, text, a form, and some PHP.

I have researched and tried everything I can think of.
Any idea why this content won't align at the top?
(replacing it with some plain text and using valign="top" works.)
Thanks for any help.

Here's a link: http://www.gobeyondmag.com/HomeLife/index.php
Here's the code:

<TD ROWSPAN=3 valign="top" class="noborderBox"> <img src="../images/spacer.gif" width="109" height="10">
<br> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>HOT
DEALS</strong> from</font><br> <span class="stayGreen"><a href="../page.php"><font size="2"><strong>Text here</strong></font></a></span>
<?php
if ($_SERVER['REQUEST_METHOD'] != 'POST'){
$me = $_SERVER['PHP_SELF'];
?>
<form name="form1" method="post"
action="<?php echo $me;?>">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td><input type="text" name="email" size=13></td>
</tr>
<tr>
<td><input type="submit" name="Submit"
value="Subscribe"></td>
</tr>
</table>
</form>
<?php
} else {
error_reporting(0);
//
$recipient = 'me@home.com';
$subject = 'subscriber';
$from = stripslashes($_POST['Name']);
$msg = "This person has subscribed";
$mailheaders = "From: $email\n";
$mailheaders .= "Reply-To: $email\n\n";
if (mail($recipient, $subject, $msg, $mailheaders))
echo nl2br("<font color=#339900 size=2 face='Verdana, Arial, Helvetica, sans-serif'></font>
<font color=#0033CC size=2 face='Verdana, Arial, Helvetica, sans-serif'>Thank-you for saving with RealSteals!<br>");
else
echo ("<font color=#FF0000 size=2 face='Verdana, Arial, Helvetica, sans-serif'>Message failed to send, please try again later.</font>");
}
?>
<strong><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif" >BUSINESS</font></strong><font color="#009933"><br>
<span class="themeText"><a href="../getlisted.php">Get Listed</a><br>
<a href="../interview.php">interviews</a><br>
<a href="../design.php">design</a><br>
<a href="../advertise.php">advertise</a></span></font></TD>
Attached Images
File Type: jpg alignment.jpg (68.5 KB, 41 views)
Reply With Quote