Jump to content


Photo

simple rows and columns question..i hope


  • Please log in to reply
2 replies to this topic

#1 reaper7861

reaper7861
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 19 April 2006 - 10:49 AM

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.

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>';


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

#2 wisewood

wisewood
  • Members
  • PipPipPip
  • Advanced Member
  • 226 posts
  • LocationRotherham, England

Posted 19 April 2006 - 11:40 AM

I may have misunderstood, as it seemed obvious... so let me know if i'm wrong.

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>';

wisewood: proven fact, I am both wise, and wooden.

#3 reaper7861

reaper7861
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 19 April 2006 - 07:16 PM

[!--quoteo(post=366371:date=Apr 19 2006, 06:40 AM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ Apr 19 2006, 06:40 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
I may have misunderstood, as it seemed obvious... so let me know if i'm wrong.

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>';
[/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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users