Text over an image

Discussion in 'Programming' started by immortality, Jan 23, 2008.

  1. #1
    Is it possible to make an image the background of a div and make it so the text is 50 px over and 50 px down inside that same div so I can write where I want on that image? If not what would I need to do to do this?
     
    immortality, Jan 23, 2008 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes, it is basic HTML/ CSS, add the bg to the div with background-image: and then use a relative positioning or padding on the text
     
    AstarothSolutions, Jan 23, 2008 IP
  3. Dr. XYZ

    Dr. XYZ Guest

    Messages:
    226
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Dr. XYZ, Jan 23, 2008 IP