Css for IE 8, IE 7 and below
-
I am trying to have at least 3 different css for my website.
1. one for all the fabulous browsers and ie 9 and above,
2. one for ie 8,
3. one for ie 7 and belowThe reason is my site does not look right in ie and I am trying to ensure it downgrades nicely.
I found this code in functions.php
wp_enqueue_style( ‘twentytwelve-ie’, get_template_directory_uri() . ‘/css/ie.css’, array( ‘twentytwelve-style’ ), ‘20121010’ );
$wp_styles->add_data( ‘twentytwelve-ie’, ‘conditional’, ‘lt IE 9’ );}I know it will us ie.css for all ie below 9 but I really really need the 3rd one for ie 7 and below separate from ie 8. Any help with how to modify it will be greatly appreciated.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Css for IE 8, IE 7 and below’ is closed to new replies.