How to force secondClass before firstClass even if first class has the same top value ? If possible with jquery or just css hack. The value of firstClass could be different than in this example, but the value of the secondClass is fixed.
<html>
<body>
<div class="firstClass">Hello</div>
<div class="secondClass">This is Warning!</div>
</body>
</html>
页: 1
.firstClass {
position: fixed;
top: 0px;
}
.secondClass {
position: fixed;
top: -25px;
}
http://jsfiddle.net/AQUgk/“rel=“nofollow”http://jsfiddle.net/AQUgk/
谢谢。