VeganPizza69 Ⓥ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoThe Centererlemmy.worldimagemessage-square29fedilinkarrow-up1511arrow-down146file-text
arrow-up1465arrow-down1imageThe Centererlemmy.worldVeganPizza69 Ⓥ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square29fedilinkfile-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-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
minus-squareThorned_Rose@kbin.sociallinkfedilinkarrow-up3·1 year agoCenter tag is deprecated in HTML5
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
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/centerCenter tag is deprecated in HTML5