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

Chapter 17. THE BOX FAMILY OF PROPERTIES > Additional Values for the BORDER Sub...

Additional Values for the BORDER Sub-Family of Properties

Under the CSS2 specification, the BORDER properties and all of its sibling properties (BORDER-STYLE, and BORDER-WIDTH) work in the same way as under the CSS1 specification: determining the style, color and width of the border displayed around a given Web element. CSS2 extends this property slightly by adding the named value INHERIT to all of these properties, the value HIDDEN to BORDER-STYLE and BORDER-WIDTH and the value TRANSPARENT to BORDER-COLOR.

When the INHERIT value is used, these border properties take on the same value as that set by a parent element, if it exists (or is allowed under the circumstances).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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