For two unequal and indefinite lines of text, how to center in a div (do not use js calculation)

problem description

how to center two lines of text with unequal length and variable length in a div (without using js calculation)

as shown in the following figure, text-align:center cannot be used directly because the length of the upper and lower lines of text varies. How to center the above line of text and align the lower title (responsible person) with the above

May.12,2022
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-1b35424-2bf60.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-1b35424-2bf60.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?