tfoot th, tfoot td {border-top: 2px solid #666; color: #363;} : tfoot « Tags « HTML / CSS

HTML / CSS » Tags » tfoot 
tfoot th, tfoot td {border-top: 2px solid #666; color: #363;}

<style type="text/css" media="all">
body {margin: 2em 5%;}
table {border-collapse: collapse; border-spacing: 0;}
th, td {padding: 0.25em 0.75em;}

thead th {border-bottom: 1px solid #333; text-align: center; font-weight: bold;}
tfoot th, tfoot td {border-top: 2px solid #666; color: #363;}


  <th scope="col">Q1</th>
  <th scope="col">Q2</th>
  <th scope="col">Q3</th>
  <th scope="col">Q4</th>


Related examples in the same category
1.'tfoot' defines table footer
2.table header foot
3.Style for table footer
4.Table footer style
5.Only header and footer have border
6.Add extra row to the footer
7.tfoot tag is the last section of a table, which formats the table footer
8.Style for table footer: background, color and font
9.Selecting cells in foot
10.tfoot td border: thin solid black;text-align: center;font-weight: bold;  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.