td border: thin solid black; : td border « Tags « HTML / CSS

HTML / CSS » Tags » td border 
td border: thin solid black;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
        <title> My favorite records  </title>

table {
    width: 100%;
    border: thin solid black;
    border-spacing: 0 15px;
td {
    border: thin solid black;
th, tfoot td {
    border: thin solid black;
    text-align: center;
    font-weight: bold;
tbody td {
    font-size: 120%;
caption {
    font-size: 90%;
    text-align: right;
td, th, caption {
    padding: 5px;
                Table: My favorite records.
                <col id='album' />
                <col id='artist' />
                <col id='released' />
                    <th> album            </th>
                    <th> artist           </th>
                    <th> released         </th>
                    <td> This is a test.      </td>
                    <td> This is a test.      </td>
                    <td> 1965             </td>
                    <td> This is a test.  </td>
                    <td> This is a test.     </td>
                    <td> 1967             </td>
                    <td> Queen II         </td>
                    <td> Queen            </td>
                    <td> 1974             </td>
                    <td> Sone </td>
                    <td> Music                  </td>
                    <td> 1995                                   </td>
                    <td> album            </td>
                    <td> artist           </td>
                    <td> released         </td>

Related examples in the same category
1.Shading border for table cell
2.Table cell border
3.Cell with no Border
4.Hidden, Removed Cells and Separated Borders
5.Hidden, Removed Cells and Collapsed Borders
6.Set td tag to have border: 1px solid black, width:6em
7.Use table cell border to highlight total
8.Table cell with dashed black border
9.Table border and table header, cell border border-left: 1px solid #fff; border-bottom: 1px solid #fff; border: 1px solid black; {border:1px solid black;} border-bottom: 1px solid #CDC1A7; border: 1px solid rgb(200, 200, 200); border: 1px solid crimson; border: 1px solid darkslateblue; border: 1px solid gold; {border:1px solid black;} padding:5px;border-style:solid;border-width:1px;border-color:#999999;
21.hover with border
22.Interior column border  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.