Profile
Achievement
zensir's Recent SnippetsTagged css
- All /
« Prev 1 Next »
BODY {font-size:62.5%}
This takes 16px down to 10px (16 x 0.625 = 10), which apart from being less huge is a nice round number. From now on it’s easy to think in pixels but still set sizes in terms of ems: 1em is 10px, 0.8em is 8px, 1.6em is 16px,...
3
1196
posted 18 years ago by zensir
To move the content away from the background image apply "padding-left" to the "LI" element. In this case "0.6em" has been used. As with vertical alignment, list padding will be determined by the size of your image.
35
6259
posted 18 years ago by zensir
Table with style as in;
http://24ways.org/examples/tables-with-style/table_columns.html
14
1265
posted 18 years ago by zensir