The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Padding is creating unwanted whitespace to the right › Reply To: Padding is creating unwanted whitespace to the right
Use box-sizing:border-box. Adding any padding will not add to the total width of the div.
box-sizing:border-box
http://codepen.io/senff/pen/YPNXqy