The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Hiding H1 through absolute positioning effects SEO

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #38710

    I have absolutely positioned the H1 tag in such a way that now no user can see it. I have to do it because it is not looking good as per the design. Is that going to effect SEO of the site ?


    I doubt it will affect SEO, however this is definitely not the right way to go about this. Instead I propose using one of two methods (There are a few more but I cannot remember them):

    In the CSS, use: text-indent: -9999px;

    This will make your text go off the screen -9999px; but it will still be read by SEO and by screen readers, the only down side is that on the iPad1 this results in actually making your web page stretch to -9999px too however most designers don’t mind this and therefore its probably the most commonly used method.

    Another way is to use: font: 0/0; color: transparent; line-height: 0px;

    This is quite a new way and I can’t actually remember the problems to it but I’m sure you’ll be able to google this. I’d personally recommend this way however its up to you.

    Oh actually, theres another way for text-indent and you can actually use -100%; instead which defeats the ipad problem I believe.

    Im sure you will be able to get someone here to correct me :)


    why not just throw a display:none on the offending element?


    << This will make your text go off the screen -9999px; but it will still be read by SEO >>

    I kinda disagree…. I would say, it will make your text invisible for humans but robots who read the source code or unstyled page will still see it.

    SEO however, is aimed more and more towards what humans actually see. One important rule is that SEO is better when you optimize for humans, not for robots.


    Sorry! Not actually correcting, just disagreeing. ;)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.