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

Chapter 12. Box Properties > border-bottom Property

12.5. border-bottom Property

The border-bottom property sets the value to be assigned to the border at the bottom of the box only. It can take on all of the values belonging to the border-style, border-color and border-width properties. It functions in the same way as its sibling properties border-top, border-right and border-left.

The border-bottom property is something of a “shortcut” property, as it is capable of taking on all of the other values associated with border-style, border-color and border-width properties. It can take a single numerical or named value that sets the width, color value and border style. What the border-bottom property does is to set the display properties that are applied to the bottom border only — no other borders are affected. Listing 12.5, whose results can be seen in Figure 12-7, shows how it can be used.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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