PHP8.1.21版本已发布
vue8.1.21版本已发布
jquery8.1.21版本已发布

我的Div+css设计_html/css_WEB-ITnose

原创
2016-06-24 12:31:53 795浏览

HTML

 

Code
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



CSS









   

   

   
      

      
         

         

         
          
          
 
      

      
      

        
         

         
         

         
         
         
         

         
         

         
          
          
         

      
      

   
   
   
   

   
   

   
   

   
    

             

  •          

  •          

  •          

  •          

  •          

  •          
  •  
           

       
    

    
    
    
    

   
   

             

  •              
                 
                 
             

  •         
       

       
    

  
   

   
   

   
      

        

Title


        

Hello


        

Heeeeoleeefdsfdsfasfdsafdsf


      
      

      
      

        

Right


      

      
      
      

       

Adsense


       

Adsense 120 X 600


      

   
   
    
spacer

   
   

      
      
   
   
footer











 

CSS定义:

 

 

Code
/* ------------------------------ 
HTML Redefine Tags
------------------------------ */

body
{
 
 margin:20px;font-size:12px;color:#71585e;line-height:16px;
}

ul{margin:0px}
li{list-style-type:none;}
a {font-size:12px;color:#71575D;text-decoration:none;}



/* ------------------------------ 
PAGE STRUCTURE 
------------------------------ */

/* 
#container has an absolute width (1005 pixel) 
*/


#container { margin:0 auto;    width:1005px;}

#topbar { width:auto; display:block;  border:1px solid #ccc;}

#topmenu {width:auto; display:block;}

  .col_left {width:450px; float:left; }

  .links {float:right;width:550px;}

#topmenu ul{margin:8px;width:500px;text-align: right;}
#topmenu li{margin:3px 10px;display:inline;padding-left:12px; background: url(../images/index_dot2.gif) no-repeat left;}

#top {width:auto; display:block;}
.logo {float:left;width:430px;padding:8px 0px;text-align: center;vertical-align: middle;}
.topad {float:left;width:190px;}
.topad ul{margin:0px;}
.topad li{margin:3px 0px;padding-left:10px; background: url(../images/index_dot2.gif) no-repeat left;}



#navbar {width:auto; float:left;margin:0px auto;background-image: url(../images/top_menu_bg.jpg);background-repeat: repeat-x; border:1px solid #ccc;}

#navbar_left {float:left;width:650px;height:40px;}
#navbar_left ul {margin:0px 5px;width:640px}
#navbar_left li {float:left;margin:0px 2px;display:inline;}


#navbar_right {float:right;width:355px;}
#navbar_right ul {margin:5px 0px;padding:0px;}
#navbar_right li {margin:0px;padding:0px;display:inline;}



#main {width:auto; display:block; padding:10px 0;}

#column_left { width:360px; padding-right:20px; float:left}

#column_right { width:260px; padding-right:20px; float:left}

#column_right_ad { width:120px; float:left}

div.spacer { clear:both; display:block; height:10px;border:1px solid #ccc;}

#footer { width:auto; padding:10px 0; display:block; font:11px; color:#666666;border:1px solid #ccc; }


/* ------------------------------ 
CUSTOM CLASSES
------------------------------ */

/* 
Add here your custom classes
*/

 

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。