Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Write text on top of a picture

Posted on 2006-04-23
3
Medium Priority
?
4,665 Views
Last Modified: 2012-05-05
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.
0
Comment
Question by:balonyJoes90210
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 16520355
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
 

Author Comment

by:balonyJoes90210
ID: 16525027
thanks alot
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 16527240
You're welcome!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question