/ Published in: CSS
Head
Subhead
text
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
table, td, tr { text-align: left; } table.tbl { border-collapse: collapse; color: #000; vertical-align: middle; margin-bottom: 1em; } table.tbl td { padding: 5px; border: solid 1px #eee; } table.tbl td.head { padding: 5px; border: solid 1px #fff; font-weight: bold; background-color: #ccc; } table.tbl td.subhead { color: #333; font-weight: bold; } table.tbl tr.grey, table.tbl td.grey { background-color: #eee; } table.tbl td.border { border: solid 1px #eee; } table.tbl.ctrtext td { text-align: center; }