h1 { text-indent:-9999px; margin:0 auto; width:400px; height:100px; background:transparent url("images/logo.jpg") no-repeat scroll; }其實就是讓h1的文字隱藏起來,不會出現在網頁上!
原文: Make your logo is SEO friendly by using this snippet for your h1 tag. The snippet ensures that the logo text is not displayed on the page.
http://www.codecollector.net/mafis/library/12857/Hide_text_with_text_indent
沒有留言:
張貼留言