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

Chapter 12. Box Properties > border-right Property

12.7. border-right Property

The border-right property works in exactly the same manner as the border-left, border-top and border-bottom properties, but in this case sets the value to be assigned to the border to the right 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-left and border-bottom.

The border-right property is a type of “shortcut” property, 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-right property does is to set the display properties that are applied to the right border only — no other borders are affected. Listing 12.7 is sample code that shows how border-right can be used. Its results can be seen in Opera 6.0 in Figure 12-9.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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