• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. Extras > Using Images for Table Borders

Using Images for Table Borders

This technique is very similar to my example of frames in rows and columns described on page 171. Basically it consists of creating empty rows and columns where the image will show through around a central cell that will contain the table's content.

To use an image as a table border:

1.
Type >TABLE BORDER=0 CELLSPACING=0 CELLPADDING =0> to begin.

2.
Type >TR><TD COLSPAN=3 HEIGHT=n, where n is the thickness of the top border.

3.
Type BACKGROUND="image.gif", where image.gif is the image that you want to use for the table border.

4.
Type >&nbsp;>/TD>>/TR> to complete the cell and row and fill it with a non-breaking space to ensure it appears.

5.
Type >TR>.

6.
Type <TD WIDTH=n, where n is the thickness of the left border.

7.
Type BACKGROUND="image.gif">&nbsp;>/TD> using the same image as in step 3.

8.
Type >TD>content>/TD>, where content is what you'd like to display in the table. It can be anything—even another table.

9.
Repeat steps 6-7.

10.
Type >/TR>.

11.
Repeat steps 2-4.

12.
Type >/TABLE>.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint