how can I hack CSS for IE6 and IE7 in same expression?? (if posible, of corse)
-edit-
i mean,
* html #div{ //hacks ie6}
*+html #div { //hacks ie7}
does a similar expresion hack both?
-edit2-
For example this inline code HTML
<!--[if IE lte 7]>
<style type="text/css">
.contButton p a{ height:25px; width:auto; }
.contButton p a span{ height:25px;width:auto; }
</style>
<![endif]-->
will only affect IE7 or lower, how can i select that in CSS ???
example: -*?? #div { //the CSS properties here will affect to IE6 and IE7 }
Use conditional style sheet includes like
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="ie_fixes.css" />
<![endif]-->
or use the dirty solution using an asterisk (which makes your style sheets invalid in the eyes of validators)
.example_class {
*background-color: #ffffff;
}