The Importance of Using !important in CSS Styles

Posted by Ken Cox [MVP] on ASP.net Weblogs See other posts from ASP.net Weblogs or by Ken Cox [MVP]
Published on Tue, 25 May 2010 16:37:42 GMT Indexed on 2010/05/25 16:41 UTC
Read the original article Hit count: 401

Filed under:
|
|
|
|
I just lost time trying to hide a CSS border in a third-party control, so it’s worth a quick post to help others avoid similar frustration. I could plainly see in the Internet Explorer 8 developer tool that an unwanted border in the Telerik RadRotator   was coming from the style classes named .RadRotator_Web20 and .rrClipRegion. So, to remove the border, I inserted my own style in the page as an override: .RadRotator_Web20 .rrClipRegion {     border: 0px; } No change! WTF??? Okay...(read more)

© ASP.net Weblogs or respective owner

Related posts about Community News

Related posts about .NET