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

Lid sinds
sabernhardt

Recente documentactiviteit

Alle activiteit weergeven
Pagina Datum Reactie

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.