Skip main navigation (Press Enter).
Log in
Toggle navigation
Home
Communities
Events
Upcoming Events
Super Forum 2026
HUG Connect
Support
Knowledge Base
Log in
Override inline styles > use !important
×
Ready
If you have ever been unable to change a specific style of an element because the style is inline, then use the !important modifier in your CSS.
Example of inline style:
<div id="inline"
style="border-top:3px solid #f00;"
>some text here</div>
If you use this in you CSS the border will remain because the inline style has precedence:
#inline{
border:none;
}
BUT, if you add !important, the inline style will be overridden:
#inline{
border:none
!important
;
}
#CSS
Created By:
Justin Prevatte (he/him)
Apr 10, 2013
Last Updated By:
Justin Prevatte (he/him)
Apr 10, 2013
0 comments
0 Views
0 revisions
Like
Related Links
No Related Resource entered.
Contact Us
4501 N. Fairfax Drive
Suite 301
Arlington, VA 22203
Tel: (202) 360-4402
Contact Support
Resources
Knowledge Base
Learn More
Privacy & Terms
Terms of Use
Privacy Policy
© 2025 Copyright
Powered by Higher Logic