Fix HTML problems and move style to stylesheet.