spaceplane
02-01-2003, 09:15 PM
I'm creating some title that will be on each page and there an image behind each title so I create 25 image of 25 different size to fit any lenght of text and create a table so it always keep it in the center
example <center><TABLE BORDER="0" cellpadding="0" CELLSPACING="0">
<TR >
<TD BACKGROUND="ImageTitre/titre22.jpg" VALIGN="center" RESIZE="NO">
<FONT SIZE="+2" COLOR="black" NOBR><NOBR> Joe Burns at Work </FONT></TD>
</TR>
</TABLE>
My problem is the backgorund always little bit larger of the text and I don't want to change the size of the td each time is it possible to tell the td to be the size of the background without resizing or duplicate so it always fit ???
example <center><TABLE BORDER="0" cellpadding="0" CELLSPACING="0">
<TR >
<TD BACKGROUND="ImageTitre/titre22.jpg" VALIGN="center" RESIZE="NO">
<FONT SIZE="+2" COLOR="black" NOBR><NOBR> Joe Burns at Work </FONT></TD>
</TR>
</TABLE>
My problem is the backgorund always little bit larger of the text and I don't want to change the size of the td each time is it possible to tell the td to be the size of the background without resizing or duplicate so it always fit ???