WeChat Mini Programs, why is the text-align, text still not in the middle?

Feb.28,2021

text is an inline element that cannot be used text-align, you change the text tag to view or set text to display:block.
add because the length of the inline element varies with the content, so he can't let you in the middle of the line, because his length is the length of the text.


display: flex match text-align:center cannot be centered, try justify-content:center

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be32a1-39a13.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be32a1-39a13.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?