added div tags to a few pages

- added if statement around the $average variable on the view profile
page
modified css where divs were not correct size