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 trial

HTML HTML Video and Audio (Retired) Custom Media Players Polishing a Custom Skin

Something 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

Andrew McCormick
Andrew McCormick
17,730 Points

Some 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 )

I 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?