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

Chapter 12. Box Properties > border-left Property

12.6. border-left Property

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

The border-left property is a “shortcut” property, as it is capable of taking on all of the other values associated with the 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-left property does is to set the display properties that are applied to the left border only — no other borders are affected. Listing 12.6, which is depicted in Figure 12-8 using Opera 6.0, shows how it can be implemented.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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