Write text on top of a picture

Posted on 2006-04-23
Last Modified: 2012-05-05
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.
Question by:balonyJoes90210
    LVL 70

    Accepted Solution

    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 {
          left: 16px;
    .style1 {color: #FFFFFF}

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

    You could also make the image the background of the cell, or just edit the image to put the text in there.

    Author Comment

    thanks alot
    LVL 70

    Expert Comment

    by:Jason C. Levine
    You're welcome!

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    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 …
    Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now