WebDesign.com PluginBuddy.com iThemes.tv

The CSS declaration “!important”

February 23, 2010

The CSS declaration “!important” can be a very useful tool when trying to make changes to CSS. When you use this declaration it tells the web page that this style takes priority over any other styles that are applied to that same object even if that style is declared after the style with the !important declaration, the style with the !important declaration will take higher priority.

Here is an example of how that style would be applied:

.title {

color: #003366 !important;

}

Here is a link to a site with more information and examples :http://www.yellowjug.com/web-design/the-importance-of-important-in-css/

Rate this ➜

0 people like this.
Categories: Skyler's Tips


Keep Up With iThemes

Be the first to know when we release new themes and get special discounts!


iThemes Loves, Uses & Recommends
HostGator for WordPress Hosting

Host unlimited websites for $7.95 per month.
Try HostGator Hosting

Leave a Reply



About iThemes

iThemes is one of the leaders in producing high-quality, professional WordPress themes, plugins and web design training. Simply put, we love WordPress, the open source software that runs our designs. We believe WP is an outstanding content management system that can both put your business on the Web map and help you easily maintain your blog and websites. Read our Behind the Scenes Story here »

Stay Updated

Be the first to know when we release new themes and get special discounts!

Follow iThemes on Twitter
OR the whole iThemes Brand Family