VeganPizza69 Ⓥ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoThe Centererlemmy.worldimagemessage-square25fedilinkarrow-up1507arrow-down145file-text
arrow-up1462arrow-down1imageThe Centererlemmy.worldVeganPizza69 Ⓥ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square25fedilinkfile-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 Fist@programming.devlinkfedilinkEnglisharrow-up5·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-squareThorned_Rose@kbin.sociallinkfedilinkarrow-up3·1 year agoCenter tag is deprecated in HTML5
minus-squareBlackEco@lemmy.blackeco.comlinkfedilinkarrow-up3·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