The box has the defined width. The content accomodates for those dimensions, and ends up being 200px - 30px - 24px = 146px. should be The box has the defined width. The content accommodates for those dimensions, and ends up being 200px - 60px - 24px = 116px.