reaper7861 Posted April 19, 2006 Share Posted April 19, 2006 what i have is a gallery of images in a 3x3 table what i need to do is get the comments the ratings and total comments to be all the way at the bottom of the cell in which the image is...its driving me crazy i add a tr and it messes the 3x3 table up.heres the code for it ill just post the echo statements as i think the problem resides in there.[code]echo '<center><TABLE Border="1" Cellpadding="0" Cellspacing="0">'; echo '<TD BGCOLOR ="#F8F8F8" WIDTH=200 HEIGHT=150 ALIGN=CENTER valign="top" align="center"> '.$com.'<br>Rating: '.$rates.'<br> Total Comments: '.$Total2.'<br><br>';echo '<a align="middle" href="/info.php?id_pic='.$id.'"><img src="' . $description . '" /></a></td>';[/code]if you need any of the other coding pls let me know, the 3x3 is working great so i dont know if its something i need to do in there or not.Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/7830-simple-rows-and-columns-questioni-hope/ Share on other sites More sharing options...
wisewood Posted April 19, 2006 Share Posted April 19, 2006 I may have misunderstood, as it seemed obvious... so let me know if i'm wrong.[code]echo '<center><TABLE Border="1" Cellpadding="0" Cellspacing="0">'; echo '<TD BGCOLOR ="#F8F8F8" WIDTH=200 HEIGHT=150 ALIGN=CENTER valign="top" align="center"><a align="middle" href="/info.php?id_pic='.$id.'"><img src="' . $description . '" /></a><br>';echo ' '.$com.'<br>Rating: '.$rates.'<br> Total Comments: '.$Total2.'<br><br></td>';[/code] Quote Link to comment https://forums.phpfreaks.com/topic/7830-simple-rows-and-columns-questioni-hope/#findComment-28527 Share on other sites More sharing options...
reaper7861 Posted April 19, 2006 Author Share Posted April 19, 2006 [!--quoteo(post=366371:date=Apr 19 2006, 06:40 AM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ Apr 19 2006, 06:40 AM) [snapback]366371[/snapback][/div][div class=\'quotemain\'][!--quotec--]I may have misunderstood, as it seemed obvious... so let me know if i'm wrong.[code]echo '<center><TABLE Border="1" Cellpadding="0" Cellspacing="0">'; echo '<TD BGCOLOR ="#F8F8F8" WIDTH=200 HEIGHT=150 ALIGN=CENTER valign="top" align="center"><a align="middle" href="/info.php?id_pic='.$id.'"><img src="' . $description . '" /></a><br>';echo ' '.$com.'<br>Rating: '.$rates.'<br> Total Comments: '.$Total2.'<br><br></td>';[/code][/quote]yeah i was actually seeing how it looked on top wisewood, and everytime i put <tr></tr>'s in there it breaks my 3x3 table. but what i would like those 3 ,from exactly the way you have them, is to put them on the bottom of the 200x150 bg i have the pic in. but the pic needs to be centered.Thanks very much for your help. Quote Link to comment https://forums.phpfreaks.com/topic/7830-simple-rows-and-columns-questioni-hope/#findComment-28715 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.