PDA

View Full Version : Image As Border?


esntric
08-03-2002, 02:27 PM
Can an image be set as a border for a frame, or table?

redhead
08-03-2002, 02:43 PM
for a table... try this:


<table background="whatever.gif" cellspacing="10">
<tr>
<td>
This table has a lovely border
</td>
</tr>
</table>


or, failing that try the long winded approach:


<table cellspacing="0">

<tr>
<td background="whatever.gif"height="10" colspan="3">
& n b s p ;
</td>
</tr>

<tr>
<td background="whatever.gif" width="10">
& n b s p ;
</td>
<td bgcolor="#FFFFFF">
This table has a lovely border....
</td>
<td background="whatever.gif" width="10">
& n b s p ;
</td>
</tr>

<tr>
<td background="whatever.gif"height="10" colspan="3">
& n b s p ;
</td>
</tr>

</table>


(take out the spaces in "& n b s p ;")


happy coding :thumbsup:

esntric
08-03-2002, 02:51 PM
Perfect. Thank you very much. :D

Is there a similar code for adding an image border to a frame?