Jump to content

simple rows and columns question..i hope


reaper7861

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
Link to comment
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]
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.