Tuesday, January 11, 2011

Enforcing FOnt sizes

To override control over font sizes

p
{
font-size: 12px !important;
}

In some browsers, a user can have a style sheet set up for browsing the web that enables him to set font sizes to his liking. But as a designer, you might want to make sure your designs render in the manner you planned. The "!important" rule gives you a little insurance that our designs remain intact.

No comments:

Post a Comment