3 ms·
I just throw a <center> in, it works well enough for most cases.
by mrweasel 6y ago
I just throw a <center> in, it works well enough for most cases.
- laurentdc 6y agoI prefer <center style="text-align: center;"> for maximum centeredness
- RyanGoosling 6y agohttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/center https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ce... The <center> element is obsolete and is not in the HTML5 spec...
- mrweasel 6y agoSo? The browser doesn’t care. You’re right of cause and centering is styling and it doesn’t belong in the html. It just that sometimes I really can’t be bothered with css and the center hr and a ton of br slips in, and it works well enough.