Click to See Complete Forum and Search --> : <TABLE> Commands: Centering text & Images in Cells


sosuboo
12-14-2005, 02:28 PM
Hello,

I am doing some revamping of my webisite page at the following address:

http://www.geocities.com/jazziemine_baby_u2/bon_jovi/albums.html

The text and images on this page are centered but not in a table. I want to place the text below the image in a table. This is what I have so far:

<TABLE BORDER="1" CELL PADDING="3" CELL SPACING="3" ALIGN="center" bordercolor="FFF8DC">
<TR><TD><IMG SRC="http://www.geocities.com/u_who_74701/bjpics/album_covers/bj_albumcover.jpg" ALT="Bon Jovi - Bon Jovi"></TD></TR>
<TR><TD><div align=center><FONT SIZE=+3><FONT COLOR="#FFF8DC"><FONT FACE="Bang LET">B</font></font></font>on Jovi - Bon Jovi</TD></tr>
</TABLE>

How do I get the image centered in its cell? The text?

Thanks in advance!

Christine

The Little Guy
12-14-2005, 02:43 PM
<TR><TD><div align="center"><IMG SRC="http://www.geocities.com/u_who_74701/bjpics/album_covers/bj_albumcover.jpg" ALT="Bon Jovi - Bon Jovi"></div></TD></TR>

Are you talking like this?

sosuboo
12-14-2005, 02:51 PM
Ok that worked...

Now have one other question...

How do I make the cell bigger so there is a space above and below the image? Also, does the <div align="center"> center it all the way around (up&down as well as side by side)?

Thanks in advance!

Christine