How to anchor a textbox to a picture?

  • Thread starter Thread starter Harry
  • Start date Start date
One way is to use a table:

<table style="width:200px">
<tr>
<td><img src="pic.jpg" alt="picture description" width="200"
height="150"></td>
</tr>
<tr>
<td>Caption goes here</td>
</tr>
</table>

Do NOT use the textbox from the FrontPage drawing tool bar - this uses VML
graphics which will not help you at all. See
http://www.rxs-enterprises.org/tests/vml-graphics/ for reasons why VML
should be avoided.
 
Thanks for your reply Ronx, I did not explain what I need to know properly. I
want to have a text box on top of a picture for a capion and that will move
with the picture should the picture be moved.
 
Same solution - place the caption in the top cell. Instead of moving the
picture, move the entire table.
Otherwise, use a graphic editor to add the caption to the image - do not
use FrontPage for this, FP will convert the image to a .gif with subsequent
loss of quality for .jpg images.
 
Thanks for your help Ronx, seems I want what can't be done. I appreciate you
giving me your time.

Thank you.

Harry.
 
It CAN be done - the way Ronx described; add the text to the image using an
image editor such as Irfanview, or Photoshop Elements, or paintshop pro etc.
 
Back
Top