Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- table#vehicletable {
- color: #333;
- font-family: Helvetica, Arial, sans-serif;
- width: 640px;
- /* Table reset stuff */
- border-collapse: collapse;
- border-spacing: 0;
- }
- tbody#scrolling { height: 120px; overflow: auto; display: block;}
- td#vehicles, th#vehicles { border: 0 none; height: 30px; }
- th#vehicles {
- /* Gradient Background */
- background: linear-gradient(#333 0%,#444 100%);
- color: #FFF; font-weight: bold;
- height: 40px;
- }
- td#vehicles { background: #FAFAFA; text-align: center; }
- /* Zebra Stripe Rows */
- tr#vehicles:nth-child(even) td#vehicles { background: #EEE; }
- tr#vehicles:nth-child(odd) td#vehicles { background: #FDFDFD; }
- /* First-child blank cells! */
- tr#vehicles td#vehicles:first-child, tr#vehicles th#vehicles:first-child {
- background: none;
- font-style: italic;
- font-weight: bold;
- font-size: 14px;
- text-align: right;
- padding-right: 10px;
- width: 80px;
- }
- /* Add border-radius to specific cells! */
- tr#vehicles:first-child th#vehicles:nth-child(2) {
- border-radius: 5px 0 0 0;
- }
- tr#vehicles:first-child th#vehicles:last-child {
- border-radius: 0 5px 0 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement