Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am having some styling issues with IE and want to make a conditional css file for IE
Was just wondering where I put this code
to get IE to pull a separate css file.
Thanks :)
Comments
Comment #1
rankinstudio CreditAttribution: rankinstudio commentedThat didnt display right...hmm
Code found here http://creativebits.org/webdev/ie_conditional_css
Comment #2
Mark Theunissen CreditAttribution: Mark Theunissen commentedHi rankinstudio, this is a general question about Drupal themeing and is not related to Galleria... I have a feeling you're posting it here because you know I track the issue queue and will probably respond. Anyway, you're right, but please in future only post Galleria issues here! I will help you this once though! ;)
That bit of code goes in your theme's page.tpl.php file. It's an HTML conditional comment. Put it up where the other CSS files are included. If you use the Zen theme, you can also use the theme's .info file to include conditional stylesheets.
In future you can use <code> tags to display stuff in comments that has less-than and greater-than signs (i.e. HTML tags).
Comment #3
rankinstudio CreditAttribution: rankinstudio commentedMark,
Your right, I posted because I figured you would respond. I will not post any more on non galleria issues. Thank you for the help!
Cheers
David