Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

sabernhardt

Mitglied seit
sabernhardt

Neueste Aktivitäten bei der Dokumentation

Gesamte Aktivität ansehen
Seite Datum Kommentar

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.