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

 

    摘要: 谁能给个代码,我在这里说谢谢了 ......
    摘要: 我是先学了c再学c++的,第一本书了一个美国入写的c++程序设计轻松入门感觉马马虎虎,这是一本和中国人写书完全不同的风格,在学第二本的时候才遇到了我学计算机语言来认为最经典的一本书c++ primer,这是一本让我受益匪浅的书,让我明白了很多以前一直都不明白,给我编程造成很大困绕的问题.这时才感觉到中国程序员和美国程序员的区别,从书上就可见一斑了. 反过来现在大三了,马上要找工作我想把c语......


用DW设置文字链接

我新编网页,导航条、下面栏目都有文字链接,设置了a:hover   ,     a:link   样式,但达不到理想效果,导航条想指针移上去时不变色,只多显示下划线,而栏目内标题文字既变色,又多下划线,可我通过   a:hover   设置后,导航条内反变了色,需要变色的标题文字却不变色。请问如何用CSS样式表在同页用dreamweaver分别设置不同效果的文字链接。a:hover     a:link   等好象不能设置两次。先谢过!  
 

NO.1   作者: Estyle

<style>  
  .a1:hover{style1}  
  .a2:hover{style2}  
  </style>  
  <a   href=#   class=a1>Text1</a>  
  <a   href=#   class=a2>Text1</a>  
  两套,可以这样设!

NO.2   作者: sup_haiker

.subtitle   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  font-weight:   bold;  
  color:   #FFFFFF;  
  text-align:   center;  
  vertical-align:   middle;  
   
  }  
  a:link   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #316395;  
  text-decoration:   underline;  
  }  
  a:hover   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #FF0000;  
  }  
  a:visited   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #316395;  
  text-decoration:   underline;  
  }  
  .title   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #FFFFFF;  
  text-align:   center;  
  vertical-align:   middle;  
   
  }  
  .head   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  }  
  a.nav:link   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #000000;  
   
  }  
  a.nav:active   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #000000;  
  }  
  a.nav:hover   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #996633;  
  }  
  .headw   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #FFFFFF;  
  }  
  a.top:link   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #FFFFFF;  
  text-decoration:   none;  
   
  }  
  a.top:visited   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #FFFFFF;  
  text-decoration:   none;  
  }  
  a.top:hover   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #FF0000;  
  text-decoration:   underline   overline;  
  }  
  .buttonstyle  
  {  
        BORDER-RIGHT:   #ffffff   1px   solid;    
        BORDER-TOP:   #ffffff   1px   solid;    
        FONT-SIZE:   9pt;   BACKGROUND:   #c0c0c0;    
        BORDER-LEFT:   #ffffff   1px   solid;    
        COLOR:   #000000;    
        BORDER-BOTTOM:   #ffffff   1px   solid;  
  }.redtitle   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #FF0000;  
  }  
  a.other:link   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #0000FF;  
  text-decoration:   underline;  
  }  
  a.other:visited   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #6699cc;  
  text-decoration:   underline;  
  }  
  a.other:hover   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  color:   #666666;  
  }  
  p   {  
  font-family:   "宋体";  
  font-size:   9pt;  
  }  
  我的标题样式是这样的。  
  <a   href="#"   class="nav">导航链接</a>  
  顶部的样式。  
  <a   href="#"   class="top">顶部链接</a>  
  一般的链接样式  
  <a   href="3">链接</a>


 ·怎么得出一列中相同的值1    »显示摘要«
    摘要: 表1 id name 1 张三 2 李四 3 王五 4 张三 5 李四 这样的表,怎么列出name列中姓名相同的人的列 ......
» 本期热门文章:

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