css hack in ie7-

There two simple selector hacks working in ie7-: .selector\ {} and .selector, {}.

Pay attation to the space, it is necssary in .selector\ {} while not in .selector, {}.

.a, {color: red} /* works */
.a\ {color: red} /* works */

.a,{color: red} /* works */
.a\{color: red} /* not works */

If you need to compress your css code, choose .selector, {}.

Refer to: browserhacks.

Extended reading: javascript判断浏览器类型与版本.


replace fucking with coding