百度CSS中友情链接是哪部分?

html-css015

百度CSS中友情链接是哪部分?,第1张

/*友情链接子项属性*/#m_links div.item{color:#FF77FFfont-size:12pxtext-indent:5pxtext-align:centerbackground:url(

) no-repeat}#m_links/*滚动条*/{overflow-y:autoheight:500px}/*友情链接分类名称的大小颜色 未被点击 */#m_links div.item a{color:#FF44DAfont-size:12pxtext-decoration:none}/*友情链接名的大小颜色 已被点击*/#m_links div.item a:visited{color:#FF44DA}/*友情链接分割线 */#m_links div.line{margin-top:5pxbackground:url('

')line-height:16px}

隐藏超链接:

<style>

a.hidehref {

display: none

}

</style>

<a href="#">显示</a>

<a class="hidehref" href="#">隐藏</a>

<a href="#">显示</a>

<a href="#">显示</a>

=======================================

若是只想隐藏超链接里面的文字,可以参考以下方法:

<style>

a {

display: block

float: left

width: 50px

height: 20px

text-align: center

}

span.hidehref {

display: none

}

</style>

<a href="#">显示</a>

<a href="#"><span class="hidehref">隐藏</span></a>

<a href="#">显示</a>

<a href="#">显示</a>