2013年3月19日

摘要: From: http://blog.webrule.net/发表回复1、隐藏文字显示:当一个超链接是用图片来代替(比如logo、按钮、导航条菜单等),又要兼顾SEO和图片无法显示的时候,可以先把A标签的文字隐藏掉,用背景图片表示。例1-1:隐藏文字显示CSS【CSS代码】a { display:block; width:200px; height:100px; background:url(images/logo.gif) no-repeat; /* 核心代码: */ text-indent:-999px; white-space:nowrap; overflow:hidd... 阅读全文
posted @ 2013-03-19 13:04 canny_strive 阅读(229) 评论(0) 推荐(0) 编辑

导航