Margin, among many other CSS properties, doesn't work on objects with display: inline. Use inline-block instead, or display: block together.
With CSS, you have full control over the padding. There are CSS properties for setting the padding for each side of an element (top, right, bottom, and left).
The padding shorthand property sets all the padding properties in one declaration. top padding is right and left padding are 5px; bottom padding is. CSS video tutorial - 71 - CSS Padding Area Properties However, I usually ran into the problem download sugar smash game free elements are supposed to look the same, i. Document Tags and Contributors. Learn more about hiring developers or posting ads with us. Clearfix is an odd exception, because it's not often you'll want to change the functionality html padding top a clear fixing class. The CSS padding properties are used to generate space around content. Thank You For Helping Us! It also applies to ::first-letter.