Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

sabernhardt

Member since
sabernhardt

Recent Docs Activity

View all activity
Page Date Comment

box-pack


In the example, the child element (p) was given a width to show centering, but the parent div also needs a declared width (specifically larger) to make that clear.