all elements have their padding and border dimensions included the CSS width property calculation. code example Example: border-box css #example1 { box-sizing: border-box; }