Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Join
Education
Knowledge Base
Support
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
My Communities
Online Community Product Communities
Marketing Automation Communities
Recommended Communities
Education
Academy
Live Training
On-Demand Training
Webinar Recordings
Knowledge Base
Events
Upcoming Events
HUG Connect
Support
Knowledge Base
Create a Case
Resources
Blogs
Expert Advice
Customer Examples
Success Centers
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.
Higher Logic | 1919 Lynn Street, 5th Floor, Arlington, VA 22209 | hug@higherlogic.com | (202) 360-4402
Powered by Higher Logic