Skip main navigation (Press Enter).
Log in
Toggle navigation
Search Options
Log in
Home
Communities
My Communities
Online Community Product Communities
Marketing Automation Community
Recommended Communities
Events
Upcoming Events
Super Forum 2025
Support
Knowledge Base
Design Resources
GDPR Resources
Learning
Preparing to Launch?
Post Launch Best Practices
HUG Education Library
Higher Logic Thrive
Modules
Directory
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
Apr 10, 2013
Last Updated By:
Justin Prevatte
Apr 10, 2013
0 comments
0 Views
0 revisions
0
Like
Related Links
No Related Resource entered.
Contact Us
4501 N. Fairfax Drive
Suite 210
Arlington, VA 22203
Tel: (202) 360-4402
Contact Support
Resources
Knowledge Base
Learn More
Privacy & Terms
Terms of Use
Privacy Policy
© 2024 Copyright
Powered by Higher Logic