|
Like the galleries do! When a framed picture or document hangs on a wall, there's bound to be a shadow along one side and the bottom of the frame. We can fake this shadow by using tables.
The image above is framed in a borderless table. The added shadow effect gives the illusion of a slight space between the image and the "wall" it's hanging on.
The table below shows the skeleton of the tabled shadow:
To frame an image or text, you must use a table within a table, as in this image below:
Table within a Table
HERE LIES
MR. THADDEUS SILLY
Who Choked on Bad Humor |
|
|
|
|
|
|
NOTES:
- The upper right and lower left cells should not have a bgcolor, so the color or the background image shows through.
- The shadow color intensity can vary. In the example tables, the shadow color is #666666. If the page background is dark, use black for the shadow color.
- Since colspan and rowspan are involved, use a pixel size, not a percentage, for widths and heights. The outcome will be much better.
Here is Sally's Shadow Tables mini tute. |