Drupal 7: IE Styles

Nett in Drupal 7 braucht man das Modul Conditional Styles offensichtlich nicht mehr, sondern kann drual_add_css() verwenden:

function mytheme_preprocess_html(&$vars) {
 drupal_add_css(path_to_theme() . '/fix-ie.css', array('weight' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
}

via Reinhold Weber

Possibly related posts (automatically generated)