All Questions
4 questions
0
votes
2
answers
754
views
Why CSS .addClass is not applying proper style per specificity?
I understand the concept of css specificity.
Here is my situation:
I have a style for class called "success". This simply makes colors green...etc.
Now I have 2 separate css files that defines ....
1
vote
2
answers
281
views
Is there an JS library that orders CSS selector texts according to specificity? [duplicate]
Possible Duplicate:
Sorting a set of CSS selectors on the basis of specificity
I need a JS library that order CSS selector texts from most specific selector text to the less specific selector text,...
1
vote
0
answers
79
views
find out specificity of a css selector in javascript [duplicate]
Possible Duplicate:
Sorting a set of CSS selectors on the basis of specificity
does anyone know of a way to find out the specificity of a css selector in javascript? is there some library or maybe ...
7
votes
6
answers
3k
views
text-decoration:none doesn't remove text decoration
Consider the following code
HTML:
<span class='c1'>Home<sup id='id1'>[2]</sup></span>
CSS:
.c1
{
text-decoration:underline;
}
#id1
{
text-decoration:none !important;
...