Trim the markup and styles output.

This trims the output and lets the CSS control the padding on all sides of the output boxes, so it can be changed in a custom theme.