flamingos-cant (hopepunk arc)@feddit.uk to Programmer Humor@programming.devEnglish · 3 days agoBeastlyfeddit.ukimagemessage-square101fedilinkarrow-up1976arrow-down141
arrow-up1935arrow-down1imageBeastlyfeddit.ukflamingos-cant (hopepunk arc)@feddit.uk to Programmer Humor@programming.devEnglish · 3 days agomessage-square101fedilink
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up7·edit-23 days agoThe 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.
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.
100%. It’s already centered.
Exactly 😄