Topic: replace_html_if_exists + CSS issue in IE

Hi.  I'm working on an application, where if a certain action takes place, replace_html_if_exists is ran, generating a new elements on a page.  Like so:

page.replace_html_if_exists(params[:content_pane_id], render_options)

This element has its own stylesheet tag and several extra styles, like so:

<%= stylesheet_link_tag 'details_page' %>
<style>
// my extra styles
</style>

followed by the actual code.

It works fine on Firefox and Chrome, but on IE neither the stylesheet nor the extra style tags get rendered.  Has anyone encounter this issue before?

thanks!
Luka