网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > 建站交流
User Name
Password
 
FAQ Members List Calendar Cheap Glasses

建站交流 讨论网站建设的基本方法、技巧、空间问题讨论、域名交流、
资源分享、技术交流,站长们经常进来看看噢!

Reply
 
Thread Tools Display Modes
  #1   IP: 59.60.149.106
Old 2008-04-30, 07:55 PM
topvip topvip is offline
超级版主
 
Join Date: 2006-01-04
Posts: 1206
topvip 正向着好的方向发展
Default Using CSS to hide H1 tags

Our designer used this popular code:

Quote:
<style type="text/css">
h2 {
text-indent : -9999px;
}
</style>
Which does exactly what you describe: push the "text" over by 9999 pixels so the h2 tag does NOT display on a regular browser (Only in the source code for search engines). The page shows a graphic but not the h2 tag.

However, if you use a text only browser, the h2 text tag will indeed display.

I also question if this is a safe technique from an SEO perspective since this in fact "hides" a tag from a user, but not from search engines.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Link to Authorities and Hide These Links With CSS car 网赚研究院 0 2008-02-04 11:09 PM
Drupal宝典之定制篇 topvip Blog(博客)/Wiki(维客)/RSS/Cms 0 2007-06-06 08:15 AM
Do meta tags affect Adsense? sunshine Google Adsense 0 2006-12-11 09:39 AM
10个你未必知道的css技巧 sunshine 建站交流 0 2006-05-10 09:18 PM
怎样编写css? smiling 代码交流 0 2006-02-16 03:59 AM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 03:42 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.