Use box-sizing:border-box
Apply styling to code/pre elements.