7 Replies Latest reply on Oct 4, 2007 5:33 PM by Sergey Smirnov

    Does Richfaces conflict with conditional comments?

    Bram - Newbie

      Hi,

      We are bumped into IE-problems with select objects icw z-indexes.
      This is caused by an IE (6) bug with handling the select-tag, but there's
      a workaround using an iframe:
      http://www.hedgerwow.com/360/bugs/css-select-free.html

      Problem is, this workaround messes up FireFox's layout, which handles
      the select-object just fine, so I added a conditional comment for IE:

      <!--[if lte IE 6]>
       <iframe name="selectBugWorkaround" class="invisibleIframe" />
      <![endif]-->
      

      Unfortunately, the iframe code isn't added to the html even when using
      IE6. Is this because JSF filters it out as regular comment? How can I still
      get it in?

      Regards,
      Bram