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

Chapter 19. Tables > border-collapse, border-spacing and empty-cells

19.3. border-collapse, border-spacing and empty-cells

There are three properties that handle how borders should be displayed around tables, and they are border-collapse, border-spacing and empty-cells. The first two work in conjunction with each other to tell the browser which border-formatting model to use: either the collapsed or separate model, each of which has its own unique display characteristics. The collapsed border model ensures that all border formatting settings are continuous within the body of the table, and the separate model allows for distinct borders around individual cells. The empty-cells property tells the browser how to deal with the special instance of adding borders around cells that do not contain any content.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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