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

Chapter 9. Tables > Choosing Which Borders to Display

Choosing Which Borders to Display

When you use the BORDER tag (see page 146), a border appears between each cell and also around the table itself. HTML 4 lets you choose which external sides of the table should have a border as well as which internal borders should be displayed.

To choose which external sides should have a border:

In the TABLE tag, after the required BORDER attribute, type FRAME=location, where location is one of the values listed below:

  • void, for no external borders

  • above, for a single border on top

  • below, for a single border on bottom

  • hsides, for a border on both the top and bottom sides

  • vsides, for a border on both the right and left sides

  • rhs, for a single border on the right side

  • lhs, for a single border on the left side

  • box or border, for a border on all sides (default)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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