Results 1 to 2 of 2

Thread: Image (gif) OVER text

  1. #1
    Join Date
    Sep 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image (gif) OVER text

    AAAAAAaaaaaargh

    I'm sure there's an easy way to do this, but i cant see it.

    How do i place a gif image ON TOP of text.
    Basically i'm trying to give the text a worn stamp effect.

    i thought this would do it;
    background-image: url("textbg2.gif"); z-index: 1000;}

    but i'm a bit of an amateur and can't seem to make the background image come to the foreground.

    Any ideas?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    background images are just that... backgrounds. z-index will have no effect.

    Using z-index is correct, though. You will need to place the higher one in a div.

    You could also try to just use an image of the text as the background, then the 'real' image in that layout element.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •