table 表格css‘樣式


<table  class="table table-bordered table-hover" id="">
 <thead>
 <th>操作</th>
 </thead>
 <tbody>
 <tr>
  <td></td>
 </tr>
</tbody>
</table>
    <style type="text/css">
            table th {
                white-space: nowrap;
            }
            
            table td {
                white-space: nowrap;
            }
            
            table {
                empty-cells: show;
                border-collapse: collapse;
                margin: 0 auto;
            }
    .table-bordered{
                         border: 1px solid #ddd;
                         border-collapse: separate;
                          border-left: 0;

                          }
         .table-hover tr:hover {background:#eee}
        </style>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 CSS如何設置html table表格邊框樣式 [轉]CSS如何設置html table表格邊框樣式 table表格邊框樣式 純CSS,table的thead固定,tbody顯示滾動條 【table】給table表格設置一個通用的css3樣式(默認有斑馬條紋) 【CSS】Table樣式 css table樣式 css表格樣式的設計 table完美css樣式,table的基本樣式,table樣式 HTML 表格
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM