在超链接上方创建asp.net表 [英] creating asp.net table above hyperlink

查看:67
本文介绍了在超链接上方创建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.

推荐答案

我不明白您在表中的意思,而是从不需要使用CSS的超链接中删除下划线

I don''t understand what you mean by table but to remove the underline from a hyperlink yo uneed to use CSS

a.myLinks
{
 text-decoration: none;
}

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


好像您在做菜单一样,所以我建议您看一下这篇文章:
带有jQuery&的性感下拉菜单CSS [^ ]

这是 38 jQuery和CSS下拉多级菜单解决方案 [ ^ ]

希望您会获得一些有关如何向网站添加导航的想法.

最好的问候
Espen Harlinn
Seems like you are doing a menu, so I''ll suggest you take a look at this article:
Sexy Drop Down Menu w/ jQuery & CSS[^]

Here are 38 jQuery And CSS Drop Down Multi Level Menu Solutions[^]

Hopefully you''ll get some ideas about how to add navigation to your site.

Best regards
Espen Harlinn


马克是正确的.您只需要更改anchor标记的样式.

方法1 -它将删除所有链接的下划线
Mark is right. You just need to change the style of the anchor tag.

Way 1 - It''ll remove underline for all links
<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表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆