Home > Web Front-end > HTML Tutorial > How to use DIV CSS to build inline pages that follow button changes_html/css_WEB-ITnose

How to use DIV CSS to build inline pages that follow button changes_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:29:52
Original
1336 people have browsed it

如何用DIV+CSS来构建内嵌页面跟随按钮变化

效果说明图:

CSS代码:

.PartL {
 BACKGROUND: url() #ffd77b repeat-y; OVERFLOW: hidden;
}
.TabADS {
 OVERFLOW: hidden; WIDTH: 800px;
}
.TabADS UL {
 CLEAR: both; OVERFLOW: hidden; WIDTH: 800px; HEIGHT: 24px;
}
.TabADS LI {
 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url(images/center1.jpg) #e4e4e4 no-repeat right 50%; FLOAT: left; PADDING-BOTTOM: 0px; WIDTH: 60px; CURSOR: pointer; COLOR: #333; PADDING-TOP: 6px; HEIGHT: 18px; TEXT-ALIGN: center
}
.TabADS .TasADSOn {
 FONT-WEIGHT: bold; BACKGROUND: url(images/center.jpg) #ffe4a6 no-repeat right 50%; CURSOR: pointer; COLOR: #333; TEXT-ALIGN: center
}
.TabADSCon {
 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.TabADSCon LI {
 LINE-HEIGHT: 20px; TEXT-ALIGN: left;OVERFLOW: hidden;
}

HTML代码:


   
 
   
   
 
      
       
       

         

               
  • onmouseover="setTimeout('Show_TabADSMenu(1,0)',200);">功能一

  •            
  • onmouseover="setTimeout('Show_TabADSMenu(1,1)',200);">功能二

  •            
  • onmouseover="setTimeout('Show_TabADSMenu(1,2)',200);">功能三

  •            
  • onmouseover="setTimeout('Show_TabADSMenu(1,3)',200);">功能四

  •            
  • onmouseover="setTimeout('Show_TabADSMenu(1,4)',200);">功能五

  •          

       

       

         

               

  •           
               

  •          

         
         
         
         
  

  
        

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template