dbradbury Posted December 17, 2009 Share Posted December 17, 2009 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... Link to comment https://forums.phpfreaks.com/topic/185414-need-help-there-is-a-big-gap-i-cant-get-rid-of/ Share on other sites More sharing options...
mrMarcus Posted December 17, 2009 Share Posted December 17, 2009 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. Link to comment https://forums.phpfreaks.com/topic/185414-need-help-there-is-a-big-gap-i-cant-get-rid-of/#findComment-978838 Share on other sites More sharing options...
dbradbury Posted December 17, 2009 Author Share Posted December 17, 2009 thanks! worked great! forgot that its a line break aswell lol little things always get me, especially the ';' lol Link to comment https://forums.phpfreaks.com/topic/185414-need-help-there-is-a-big-gap-i-cant-get-rid-of/#findComment-978842 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.