CSS - display:none;

Out of context: Reply #1

  • Started
  • Last post
  • 4 Responses
  • doctor0

    None of your methods are ideal.
    I think it is much better to make a norman header, ie. <h1>My headline</h1> and move the text with CSS, and insert a background.

    h1 {
    text-indent: -6000px;
    background: #fff url(backgr.png) left center;
    width: 200px;
    height: 50px;
    }

    Regarding display:none -- there's no SEO problem, and it would work fine, but this way you use less mark-up, and your CSS will be simpler.

    • Maybe add no-repeat to the background btw...doctor
    • +1 on this method. It's easy and it's clean.jamble

View thread