I have two styles affecting the same element (myDiv
) from different stylesheets.
Stylesheet1.css
.myDiv{
background-color:#000;
}
Stylesheet2.css
.myDiv{
background-color:#FFF;
}
Neither style is more specific than the other, and neither have !important
appended.
However I'm finding that the same css consistently gives priority to Stylesheet1.css on one server, but Stylesheet2.css on another! Can anyone suggest why that would be?
(Due to business reasons I don't want to simply fix it- I just want to understand why it is behaving that way.)