HTML5怎么制作表格样式

本篇内容主要讲解“HTML5怎么制作表格样式”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“HTML5怎么制作表格样式”吧!

创新互联建站是一家专注于做网站、成都网站制作与策划设计,东城网站建设哪家好?创新互联建站做网站,专注于网站建设十多年,网设计领域的专业建站公司;建站业务涵盖:东城等地区。东城做网站价格咨询:028-86922220

效果图

HTML5怎么制作表格样式

具体代码如下所示:




    
    表格
    
        *{
            margin: 0;
            padding: 0;
        }
        body{
            font: italic 20px Georgia, serif;
            letter-spacing: normal;
            background-color: #f0f0f0;
        }
        #content{
            width: 750px;
            padding: 40px;
            margin: 0 auto;
            background-color: #fff;
            border-left: 30px solid #1D81B6;
            border-right: 1px solid #ddd;
            box-shadow: 0px 0px 16px #aaa;
        }
        #table1{
            font: bold 16px/1.4em "Trebuchet MS", sans-serif;
        }
        #table1 thead th{
            padding: 15px;
            border: 1px solid #93CE37;
            border-bottom: 3px solid #9ED929;
            text-shadow: 1px 1px 1px #568F23;
            color: #fff;
            background-color: #9DD929;
            border-radius: 5px 5px 0px 0px;
        }
        #table1 thead th:empty{
            background-color: transparent;
            border: none;
        }
        #table1 tbody th{
            padding: 0px 10px;
            border: 1px solid #93CE37;
            border-right: 3px solid #9ED929;
            text-shadow: 1px 1px 1px #568F23;
            color: #666;
            background-color: #9DD929;
            border-radius: 5px 0px 0px 5px;
        }
        #table1 tbody td{
            padding: 10px;
            border: 2px solid #E7EFE0;
            text-align: center;
            text-shadow: 1px 1px 1px #fff;
            color: #666;
            background-color: #DEF3CA;
            border-radius: 2px;
        }
        #table1 tbody span.check::before{
            content: url(images/check0.png);
        }
        #table1 tfoot td{
            padding: 10px 0px;
            font-size: 32px;
            color: #9CD009;
            text-align: center;
            text-shadow: 1px 1px 1px #444;
        }
    



    
        
            
                
                Smart Starter
                Smart Medium
                Smart Business
                Smart Deluxe
            
        
        
            
                Price per month
                $ 2.90
                $ 5.90
                $ 9.90
                $ 14.90
            
        
        
            
                Storage Space
                512MB
                1 GB
                2 GB
                4 GB
            
            
                Bandwidth
                50 GB
                100 GB
                150 GB
                unlimited
            
            
                MySQL Databases
                unlimited
                unlimited
                unlimited
                unlimited
            
            
                Setup
                12.90 ___FCKpd___0lt;/td>
                12.90 ___FCKpd___0lt;/td>
                free
                free
            
            
                PHP 5
                
                
                
                
            
            
                Ruby on Rails
                
                
                
                
            
        
    

到此,相信大家对“HTML5怎么制作表格样式”有了更深的了解,不妨来实际操作一番吧!这里是创新互联网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!


网站标题:HTML5怎么制作表格样式
标题网址:http://ybzwz.com/article/gehcoj.html

其他资讯