当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 有一段html代码如下面: <b>abc</b><font color=red>red font<font color=blue>blue font</font></font> 要如果用表达式将他分解为以下结果,正则表达式应该如何写? <b>abc </b> <font color=red......
    摘要: 如题 是不是只需引用某个东东 ......


如何能去掉Hyperlink下面的下划线

如题,谢谢大家

NO.1   作者: Symanteck

把这个加到style里  
  a  
  {  
  font-size:   12px;  
  color:   Black;  
  FONT-FAMILY:   宋体;  
  font-weight:   normal;  
  text-decoration:   none;  
  }  
  a:link  
  {  
  font-size:   12px;  
  color:   Black;  
  FONT-FAMILY:   宋体;  
  font-weight:   normal;  
  text-decoration:   none;  
  }  
  a:visited  
  {  
  font-size:   12px;  
  color:   Navy;  
  FONT-FAMILY:   宋体;  
  font-weight:   normal;  
  text-decoration:   none;  
  }  
  a:hover  
  {  
  font-size:   12px;  
  color:   Red;  
  FONT-FAMILY:   宋体;  
  font-weight:   normal;  
  text-decoration:   underline;  
  }  
  a:active  
  {  
  font-size:   12px;  
  color:   Red;  
  FONT-FAMILY:   宋体;  
  font-weight:   normal;  
  text-decoration:   none;  
  }  
 

NO.2   作者: smile9961

可以用css吧,因爲Hyperlink顯示在頁面上還是link呀?

NO.3   作者: njbaige

帮你解释一下  
   
  用一个样式表就能做到。  
  text-decoration   属性表示是否要显示下划线  
  text-decoration:   none;   ///不显示下划线  
   
  a  
  {  
          text-decoration:   none;  
  }  
  a:active  
  {  
          text-decoration:   none;  
  }  
  a:visited  
  {  
          text-decoration:   none;  
  }  
  a:link  
  {  
          text-decoration:   none;  
  }

NO.4   作者: coolshun

用css。

NO.5   作者: s1ihome

用css多简单:)  
  <style>  
  a   {text-decoration:none;}  
  </style>

NO.6   作者: mathsword

一定要用   css,

NO.7   作者: simonezhlx

css


    摘要: 我把一个自己做的gif按钮控件(已经使用双缓冲)放在一个sdi的cformview里面在改变拖拉改变窗口大小的时候闪烁.一般的图片控件都会闪烁. (才来这里混,一共只有100分,要给多个愿意帮助的朋友,请不要介意分数的少,只是表表心意,先谢谢了). ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE