HTML and CSS Reference
In-Depth Information
color: #ccc !important ;
}
div h1 {
color:#333;
}
div p {
color:#333;
}
div.module h1 {
color:#666;
}
div.module p {
color:#666;
}
div#content h1 {
color:#999;
}
div#content p {
color:#999;
}
With the addition of !important , what was once the least important rule in the style sheet
is now the most important (see Figure 3-12).
Figure 3-12. The !important declaration struts its stuff.
Search WWH ::




Custom Search