Code to display table results from db

Cleaned up the CSS and the layout.