Ahh. I see. Well just for clarity; It appeared (to me) that you simply wanted the format of the output to be left-aligned closer. So given that heredoc obeys the layout you provide it. I simply moved the <div>'s, and the <p>'s to the output you appeared to request.
In any case. I'm glad you were able to get all sorted out.
Best wishes.
--Chris
Hey. I'm not completely useless. I can be used as a bad example.