Jump to content

need help... there is a big gap i cant get rid of...


dbradbury

Recommended Posts

check this site first: [url=http://stacksteads.host56.com/pastconcerts.phphttp://]http://stacksteads.host56.com/pastconcerts.php

 

see the big gap in the scrollable area?

well i dont want that...

 

here is my code for that section of the page:

<?php
if($checkbookings==0)
{
echo 'No Bookings Yet';
}
else
{
while($row = mysql_fetch_assoc($getbookings))
{
	echo '<tr><td width="auto" valign="top" align="right">'.substr_replace($row['post_subject'], "", 0, 11).'</td><td width="20px" valign="top"> - </td><td width="auto">'.nl2br($row['post_text']).'</td></tr><br>';

}
}
?>

 

i think its putting the tr tags in the while loop... but it wont work without them in it...

remove the line break <br> at the end.

 

FYI, there is no "auto" value for width attribute as far as HTML markup goes.  use style="width: auto;" instead .. or even better, just setup up a class.

 

BTW, your site doesn't show up.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.