RSS

|| css || tip || style is in-affective

18 Oct

If you find that you have given border, color, margin, padding or any other style to any html element but its in-affetcive i.e. you cant notice the change you want to, then simply add !important infront of that particular property e.g.

border:1px solid red !important;

color:green !important;

margin-left:10px !important;

padding-top:12px !important; and so on

So if you find that any styling property is quite remind it that you are not important 😉

Advertisements
 
Leave a comment

Posted by on October 18, 2011 in css

 

Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: