My Rails application (link) is experiencing display bugs in Internet Explorer. I am trying to fix these bugs by making changes in the
app/views/layouts/application.html.haml
file where I have included:
/[if IE]
= stylesheet_link_tag "ie", media: "all"
It seems that this code successfully generates the necessary HTML with the precompiled asset being downloaded from the server:
<!--[if IE]>
<link href="/assets/ie-21dfbd4e306a3f4685597c40061f9d43.css" media="all" rel="stylesheet" />
<![endif]-->
The stylesheet contains the following CSS:
#logo {
display: none;
}
Despite setting the logo display property to none in the stylesheet, it still appears on the page in Internet Explorer.