Contents Page Design
|
You can use tables in creative ways to help achieve effects that you may want to incorporate into your web-publishing efforts. There are a number of design challenges for which tables provide the solution. One thing you can do with tables is take a composite image and split it into pieces, then re-combine it in the cells of table. This is useful for creating wrap-around effects or image captions. The following example is shown with borders off and borders on to illustrate how the table is formatted.
Watch out for hard returns in your HTML code when using tables to mortice images. A hard return before a </TD> tag will add space between the table cells. You will also need to set cellpadding, cellspacing, and border to 0 in order for the image to mortice correctly. And finally, be sure to use the single-pixel GIF to keep the cells in your tables from collapsing. Alignment You can use tables to combine different text alignment specifications. In this example the text in the left column is right justified, and the text in the left is left justified.
References
|
|||||||||||||||||||||