Web Hosting Offers
See the new scripts recently added to Dynamic Drive. Click here.
Original, practical CSS codes and examples such as CSS menus for your site.
    Search code samples  
 
  Keyword
 
 
 
   
 
 
  Code Samples
 
ASP
CSS
Dhtml
Html
Javascript
PHP
 
   
     LOGIN HERE  
 
Username
Password
Forgot Password
Verify Signup
 
 
 

CSS

What is the !important CSS rule?

Visitor Ratings (1) :

Description
CSS tries to create a balance of power between author and user style sheets. By default, rules in an author's style sheet override those in a user's style sheet.

If you, in your style sheet want to mark something as important, use the following code:

P { font-size: 18pt ! important }

You are telling your user, that it is important, that you use 18pt, as your fontsize.
Code
Select All
 Rate this Resource