2 Replies Latest reply on Mar 11, 2010 9:41 AM by Alexandre Maia

    Styling (css) not working in Firefox

    Alexandre Maia Newbie

      Problem: the css is not loaded by firefox when in standards compliance render mode (if I specify the doctype in the xhtml).

      Cause: the link generated by richfaces is served with "content-type" header as "text/html" instead of "text/css".

       

      In other browsers (like IE6) or disabling the standars mode in firefox (by removing the doctype) the styling works.

       

       

      *

      <link class="component" href="/project/a4j/s/3_3_2.GAorg/richfaces/renderkit/html/css/basic_both.xcss/DATB/xxx.faces" rel="stylesheet" type="text/css" />

       

       

      apache 6.0.24

      richfaces 3.3.2.GA

      facelets