1 Reply Latest reply on Dec 26, 2007 6:07 PM by pmuir

    Using the expression language in CSS - CSS as XML

    jrwsampson

      I would like to be able to use the expression language in my CSS files, so that I can do things like this:

      <f:verbatim>
      <style>
      #sscontainer{
      top: #{brandedPageManager.user.webpage.webpagetype.sspTop};
      }
      </style>
      </f:verbatim>



      This works fine inside the head element of my xhtml file, but I would like to be able to do the same thing in an externally linked file (for SEO reasons). What do I need to do to get Seam to parse the CSS file and perform the variable replacement?