• Victor@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    3 days ago

    The irony is twofold here. A div takes up 100% of its parent’s width by default because it’s a block-level element, as all such elements do.

    But centering stuff on the page has been trivially ezpz since at least a decade.

    Poor div, always the butt of the joke.