You might want to have your div tags outside the loop. You are creating 10 divs with the class="Response". You might also want to have the <ul> outside the loop as well. Right now each of your anchor tags has a ul in it, and each ul only has one li. If they were moved outside the loop you could cut down on the number of tags on the page and still get the presentation you want. Sometimes it is good to inspect the page your are getting using Chrome's developer console. You can check out the element tab to see what kind of html you are generating.