31
4

3 回答 3

36

You just need to add z-index and position:relative; see the example. http://jsfiddle.net/SqvUd/2/

于 2012-05-14T17:01:31.860 回答
7

It has to do with the z-index of the items. Try adding this to your existing css:

.obOffer {
    position: relative;
    z-index: 10;
}

.obHiLight {
    position:relative;
    z-index: 100;
}​
于 2012-05-14T17:03:04.773 回答
3

adding .obHiLight{opacity:0.999} creates a new stacking context for that element, which makes it appear above the others as well. This might work for tables too (didn't test :) . @ItJustWerks @brian-tacker

于 2019-08-18T14:17:11.280 回答