Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: picture caption box to right  (Read 4188 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 109
picture caption box to right
« on: August 21, 2005, 03:19:08 pm »

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 - if you have to log in, I can send a screen dump instead.

Thanks for any help.

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
                <td align="center" class="tableb" height="{CELL_HEIGHT}" style="white-space: nowrap; padding: 0px;">
                        <table cellspacing="2" cellpadding="0" class="imageborder">
<td align="center" valign="top">
<td align="left" valign="top" width="200">
<!-- BEGIN img_desc -->
<table width="100%" cellpadding="5" cellspacing="0" class="img_caption_table_righttext">
<!-- BEGIN title -->
<th align="left">
<!-- END title --><!-- BEGIN caption -->
<td align="left">
<!-- END caption -->
<!-- END img_desc --></td>
                        </table>                </td>
Pages: [1]   Go Up

Page created in 0.089 seconds with 19 queries.