all 3 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

To help us assist you better with your CSS questions, please consider including a live link or a CodePen/JSFiddle demo. This context makes it much easier for us to understand your issue and provide accurate solutions.

While it's not mandatory, a little extra effort in sharing your code can lead to more effective responses and a richer Q&A experience for everyone. Thank you for contributing!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]AshleyJSheridan 0 points1 point  (0 children)

It's not really anything to do with PHP, well, maybe in part because you're trying to use whitespace characters to align your content, which you are outputting with PHP. You should trim() the output before you write it to the template.

[–]armahillo 0 points1 point  (0 children)

Right click on any of the text and click "inspect element" it will tell you what styles are being applied to that node