1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to get the image behind the text?

Discussion in 'HTML & Website Design' started by Johnburk, Dec 18, 2005.

  1. #1
    Is there a html code that allows images to be behind the text, so that I can write on the image?
     
    Johnburk, Dec 18, 2005 IP
  2. eduardomaio

    eduardomaio Peon

    Messages:
    450
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just set it to background on a table (td) or something like that...
     
    eduardomaio, Dec 18, 2005 IP
    Johnburk likes this.
  3. Johnburk

    Johnburk Peon

    Messages:
    777
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you.

    I made the image as background image of the cell. Problem fixed :D

    For other people have the same problem, here is the code

    <td rowspan="1" colspan="5" width="780" height="179" background="image.gif">
    Code (markup):
     
    Johnburk, Dec 18, 2005 IP
  4. Djohn

    Djohn Peon

    Messages:
    75
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You could do the same by setting a background image for a DIV in CSS
     
    Djohn, Dec 18, 2005 IP
  5. ahearn

    ahearn Peon

    Messages:
    292
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Glad you got it. Just as additional information, you can specific background images for the entire page (body tag), a table, a table row, table cell, or a variety of other entities via CSS and Dynamic HTML. If the text is fixed, you can also simply create an image that has the text included.
     
    ahearn, Dec 19, 2005 IP
  6. Lpspider

    Lpspider Well-Known Member

    Messages:
    2,216
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    160
    #6
    another alternate is the z-index
     
    Lpspider, Dec 19, 2005 IP
  7. ramakrishna p

    ramakrishna p Notable Member

    Messages:
    1,798
    Likes Received:
    361
    Best Answers:
    0
    Trophy Points:
    240
    #7
    Lpspider,
    Can you please explain Z-index? How can I put text over a background image with z-index type of code. I only familiar with html <td> <tr> & <table>. Other syntex I never touched during my one year of htmls making period.

    Thanks in advance.
     
    ramakrishna p, Dec 24, 2005 IP