HTML5如何制作表格样式

小编给大家分享一下HTML5如何制作表格样式,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

创新互联建站-专业网站定制、快速模板网站建设、高性价比始兴网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式始兴网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖始兴地区。费用合理售后完善,十载实体公司更值得信赖。

效果图

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://azwzsj.com/article/jidiej.html

其他资讯