Non-Inherited Properties [14/15]
Not every property can be inherited. Some properties apply to a given element only and may not be inherited by its descendants.
Such non-inherited properties are: width, height, paddings and margins, positioning mode, etc. Really, how would you feel like if you set paddings for
body and see all its nested elements padded as well.
For more detail on inheritance, welcome to the upcoming "Inheritance and Cascading" course.
- For the
border: 1px solid #cccccc;.