Write text on top of a picture

Hi,
I was just wondering if anyone can tell me how I can write some text on top of a picture.  I have the picture in a table in a cell and all I want to do is write some  text over top of it.  Is this possible to have it in the background of the cell or anything like that.

Thanks in advance.
balonyJoes90210Asked:
Who is Participating?
 
Jason C. LevineNo oneCommented:
You can do this a number of ways, but the easiest in DW is to add a layer to the table cell and overlay the image.

The code would look like this:

<style type="text/css">
<!--
#Layer1 {
      position:absolute;
      width:200px;
      height:150px;
      z-index:1;
      left: 16px;
}
.style1 {color: #FFFFFF}
-->

<table width="90%" border="1">
  <tr>
    <td><img src="image.jpg" width="200" height="150" />
    <div id="Layer1"><span class="style1">blah blah blah blah </span></div></td>
  </tr>
</table>

You could also make the image the background of the cell, or just edit the image to put the text in there.
0
 
balonyJoes90210Author Commented:
thanks alot
0
 
Jason C. LevineNo oneCommented:
You're welcome!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.