View Single Post
  #1 (permalink)  
Old 04-14-2005, 04:50 PM
icb01co2 icb01co2 is offline
WebProWorld Pro
 
Join Date: Feb 2004
Location: England Baby!
Posts: 216
icb01co2 RepRank 0
Default Text and image issue

Hi all,

Ok lets assume that we have a table like this:

<Table><tr>
<td><img src = "Someimage"></td>
<td>
Some long text paragraph
</td>
</tr>
<tr>
<td colspan="2"> rest of paragraph </td>
</tr>
</table>

Ok so the layout will be somthing like this:


http://www.pcroomhire.co.uk/layout.bmp

Ok so the text and image is dynamically inserted from a database. But i dont know how big the image is so i dont know how much text to add in the first section and how much in the bottom table row. I.e. i dont want any of the following layouts

http://www.pcroomhire.co.uk/layoutc.bmp

or

http://www.pcroomhire.co.uk/layoutb.bmp

Is there any CSS tips to make the text automatically fit the layout. Possiably by removing the table. Hope this makes sense.
Reply With Quote