Question:

How do you put an image in the background and have text on top?

by  |  earlier

0 LIKES UnLike

Such as on here:

http://www.daniweb.com/tutorials/forum76.html

Where it says "Web Design Tutorials" you can highlight the text and save the BG

Thanks...ALOT!!!

 Tags:

   Report

3 ANSWERS


  1. In the HTML code type in:

    background="your image file"

    That makes it a background image and not a regular image. You can then type over this image.

    Make sure you put the code within the opening tag of the section it is to ba added to. For example if its supposed to be in the entire page put it in the <body> tag by putting < Body background="image file">

    If its the bakground of a table then you should start it off <table background="image file"> , hope this helps!!


  2. <html>

    <TABLE BORDER="0" cellpadding="0" CELLSPACING="0">

    <TR>

    <TD WIDTH="221" HEIGHT="300" BACKGROUND="some_image.jpg" VALIGN="bottom">

    <FONT SIZE="+1" COLOR="red">Some text goes here...</FONT></TD>

    </TR>

    </TABLE>

    </html>

  3. In Word:

    right-click on the image you want for the background

    click order, "send to the back"

    right-click on the image for the foreground, click order, click "sent to the front"

    You might want to look at this.

    http://office.microsoft.com/training/tra...

    http://search.yahoo.com/search?ei=utf-8&...

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.