Tuesday, November 9, 2010

CSS - font and color

Always set the default font and color in body.  Also, right below body, set default font and color for links and a:hover.  This will make things a lot easier for adding new pages, changing default font and color and customizing font and color.

Never ever set font and color for each individual element when they are the same.  Font and color should only be specified for an element when they differ from the default set in body.

No comments:

Post a Comment