RESOURCES :: Mini Tutorials :: Table background images |
Using CSS to declare a background image for one cell of a table - border right side |
|
Cell 1: background image applied with CSS No width has been set for this cell, if you want this cell to open at a specified width, eg: 200px, you would be best to insert a transparent shim sized 200px wide. We also added a border-right style to achieve the thin black border on the right of this cell.
|
Cell 2: Use the following in the head of your document to declare a class for a cell where you wish to have a background image:
and apply the style to the first td tag in the table <td class="tutbckTablecell"> Free: Graphic used for background - download - right click and 'save as'
|