css override not working?
Posted
by
Karin
on Stack Overflow
See other posts from Stack Overflow
or by Karin
Published on 2012-09-06T09:29:12Z
Indexed on
2012/09/06
9:38 UTC
Read the original article
Hit count: 197
I have three tabs that change styles when clicked. class="active"
gives the tab the same background as the tab content, while class="inactive" has another color.
My problem is the text on the tabs, something's weird with the CSS. The default state of class="active"
looks as it should, while the inactive tabs are underlined even though my CSS says text-decoration: none !important;
and the clicked active tab text becomes extra bold (or maybe it's a shadow).
Please look at my fiddle: http://jsfiddle.net/m8wQM/170/
© Stack Overflow or respective owner