ruler

This element width is set to 400 pixels. On each side of the box, the padding is 20 pixels, so the total width is now 440 pixels.

A code example from Stylin’ with CSS, Third Edition by Charles Wyke-Smith. Visit stylinwithcss.com for more CSS information and updates.