Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialChristopher Sumpter
18,007 PointsSomething called element.style is overriding my time-float.
My time-float is not displaying. When I inspect the element, I see that it is being blocked by display being set to "none" in something called element.style. How can I override this?
2 Answers
Nicholas Woods
6,260 PointsWith an exclamation mark. See this: http://www.sitepoint.com/web-foundations/important-declarations/
Andrew McCormick
17,730 PointsSome browsers use that to identify styles that are directly applied to an element through something like some javascript. Trying adding important to your deceleration or being more specific ( i.e. using body .container div.myclass
instead of just using dv.myclass
)
Christopher Sumpter
18,007 PointsI don't know how to "add important" to my declaration. I am currently using ".mejs-container .mejs-controls .mejs-time-rail .mejs-time-total .mejs-time-float". Is it possible to be more specific than that?