本文介绍了在超链接上方创建asp.net表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我如何在超链接上放置表格,以使其不会显示超链接的带下划线的文本,例如("Home" |关于我们" |)等.

please can anyone help me on how to put a table on an hyperlink so that it won''t display the underlined text of hyperlink like ("Home" | "About Us"| )e.t.c pls.

推荐答案

a.myLinks
{
 text-decoration: none;
}

<a herf="..." class="myLinks>test</a></pre></xml>"></a>



<style type="text/css">
a
 {
  text-decoration: none;
 }
</style>
<a href="test.htm">test</a>



方法2 -它会删除所有使用linkHead
类的链接的下划线



Way 2 - It''ll remove underline for all links which used the class linkHead

<style type="text/css">
a.linkHead
 {
  text-decoration: none;
 }
</style>
<a href="test.htm" class="linkHead">test</a>



方法3 -它将删除特定链接的下划线



Way 3 - It''ll remove underline for the particular link

<a href="test.htm" style="text-decoration: none;">test</a>



推荐使用方法2 .



Way 2 is recommended one.


这篇关于在超链接上方创建asp.net表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 05:00
查看更多