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