div with 100% width handle padding code example Example: width 100% with padding .content { width: 100%; box-sizing: border-box; }