Fix html tags, move some css styling from main.css to inline styling