Jump to content

Archived

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

reaper7861

simple rows and columns question..i hope

Recommended Posts

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">&nbsp;'.$com.'<br>Rating:&nbsp;'.$rates.'<br>&nbsp;Total Comments:&nbsp;'.$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

Share this post


Link to post
Share on other sites
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 '&nbsp;'.$com.'<br>Rating:&nbsp;'.$rates.'<br>&nbsp;Total Comments:&nbsp;'.$Total2.'<br><br></td>';
[/code]

Share this post


Link to post
Share on other sites
[!--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 '&nbsp;'.$com.'<br>Rating:&nbsp;'.$rates.'<br>&nbsp;Total Comments:&nbsp;'.$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.

Share this post


Link to post
Share on other sites

×

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.