VeganPizza69 Ⓥ to Programmer [email protected]English • 1 year agoThe Centererimagemessage-square25arrow-up1482arrow-down145file-text
arrow-up1437arrow-down1imageThe CentererVeganPizza69 Ⓥ to Programmer [email protected]English • 1 year agomessage-square25file-text
Art by gfcf14 https://www.facebook.com/webdevtoons https://twitter.com/webdevtoons https://www.instagram.com/webdevtoons/ https://www.reddit.com/user/gfcf14/
minus-squareI Cast FistlinkfedilinkEnglish3•edit-21 year agoIt actually has <center> for centering things horizontally. Yes, it’s literally <center> content </center>. It’s been around since the early 90s, too. Dunno about a vertical center</center>
minus-squareBlackEcolinkfedilink3•1 year agocenter is mostly for centering text and is being deprecated in favor of text-align and margin-*: auto https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center
It actually has <center> for centering things horizontally. Yes, it’s literally
<center> content </center>
. It’s been around since the early 90s, too. Dunno about a vertical center</center>Center tag is deprecated in HTML5
center
is mostly for centering text and is being deprecated in favor oftext-align
andmargin-*: auto
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center