How many of these threads are you going to make?
Does the data in your source show appropriately for what you have in your PHP code? If it does, this isn't a PHP issue, its an HTML/CSS issue. Since this code isn't placed in [php][/php] tags, I won't go through it to verify, but your HTML appears to be built properly. Therefore the problem is with your CSS.