Replacing header text with image?

Discussion in 'CSS' started by silverblade, May 1, 2007.

  1. #1
    I've seen a lot of designs over at csszengarden where they have an h3 for example which shows as an image, but still has text in the code (for SEO purposes I suppose).

    When I try to recreate the code for such things, however, either both the text and the image show up or neither of them.

    So I was wondering if anyone here knows how to do it.
     
    silverblade, May 1, 2007 IP
  2. semantic7

    semantic7 Member

    Messages:
    92
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    48
    #2
    use text indent -9000px and overflow hidden
     
    semantic7, May 1, 2007 IP
  3. silverblade

    silverblade Peon

    Messages:
    153
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you, that seems to work :)
     
    silverblade, May 1, 2007 IP
  4. semantic7

    semantic7 Member

    Messages:
    92
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    48
    #4
    you are welcome :)
     
    semantic7, May 1, 2007 IP