I 'm trying out some code for putting a picture box to the right of the picture and in theory it works except the box just gets wider with the text. How can I force the box to restrict its width and put the text on several lines instead? You can see an example of what is happening at http://www.stockshoots.co.uk/displayimage.php?&pos=-223 - if you have to log in, I can send a screen dump instead.
Thanks for any help.
stock
ps I tacked this onto the end of a solved query and though it might get lost there so hope you don't mind me sending this as a separate query.
code as is now:
// HTML template for intermediate image display new code from here putting title and caption to right
$template_display_picture = <<<EOT
<tr>
<td align="center" class="tableb" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
<table cellspacing="2" cellpadding="0" class="imageborder">
<tr>
<td align="center" valign="top">
{IMAGE}
{ADMIN_MENU}
</td>
<td align="left" valign="top" width="200">
<p></p>
<!-- BEGIN img_desc -->
<table width="100%" cellpadding="5" cellspacing="0" class="img_caption_table_righttext">
<!-- BEGIN title -->
<tr>
<th align="left">
{TITLE}
</th>
</tr>
<!-- END title --><!-- BEGIN caption -->
<tr>
<td align="left">
{CAPTION}
</td>
</tr>
<!-- END caption -->
</table>
<!-- END img_desc --></td>
</tr>
</table> </td>
</tr>