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

Chapter 8. Space Around Boxes > Using the Border-Width Property

Using the Border-Width Property

Using the border-width property, you can set all four borders at once, as follows:

  • One value is set – That value applies to all four sides.

  • Two values are set – The top and bottom borders are set to the first value, and the right and left borders are set to the second.

  • Three values are set – The top border is set to the first value, the right and left borders are set to the second, and the bottom border is set to the third.

  • Four values are set – The values are applied in top, right, bottom, and left order.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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