We'll study everyone.
.TS { background:#2e386b }
table { background:#008ac9 url(images/dolphins.jpg) no-repeat; border: solid 1px #82a7d9 } |
To study "3D" borders open your /tornado/css/BrownBricks/style.css file.
Look at the "border" parameters - for C1, C2, R1, R2 and other classes
.C1 { color: black; font-weight: bold; background: #eaeaea url(images/cstrip2bg.gif); text-align: left; padding-top: 3px; padding-left: 3px; border-style: solid; border-width: 3px; border-color: #ececec #666 #666 #ececec }
.C2 { color: #fff; font-weight: bold; background-color: #ce740c; text-align: left; padding-top: 3px; padding-left: 3px; border-style: solid; border-width: 3px; border-color: #ffa048 #813b2a #813b2a #ffa048 }
.R1 { color:black; font-weight: bold; background:#bdbdbd url(images/cstrip2bg.gif) repeat; padding-right: 3px; padding-left: 3px; border-style: solid; border-width: 3px; border-color:#ececec #666 #666 #ececec }
.R2 { color:white; font-weight: bold; background-color:#CE740C; padding-right: 3px; padding-left: 3px; border-style: solid; border-width: 3px; border-color:#ffa048 #813b2a #813b2a #ffa048 } |
| CSS parameter |
Description |
Suggested values |
background:#nnnnnn
or
background-color:#nnnnnn |
Table background color (in this context we discuss only .TS bg color) |
any color - its html name or number (#NNNNNN)* |
border: solid
or
border-style: solid |
Border style |
none
solid
dotted
dashed |
border: solid 1px
or
border-width: 3px |
Border width |
Npx |
| border: solid 1px #82a7d9 |
Border color - the same for all 4 borders  |
any color - its html name or number (#NNNNNN)* |
| border-color: #ffa048 #813b2a #813b2a #ffa048 |
Border color for each border side (3D type only). Begins from the top edge of a border and then clockwise.  |
any color - its html name or number (#NNNNNN)*.
It's recommended to pick the main cell color and make the top and left borders lighter, and the bottom and right - darker. |