div formatting

removed duplicate padding code in each of the HTML contents. put common
code in index instead.