2 Replies Latest reply on Jan 6, 2010 10:50 AM by Nicole Schweighardt

    Best way to link a stylesheet or images?

    Nicole Schweighardt Novice

      Hi,

       

      I have got a little application with jsf without facelet-templating.

      What is the best way to link to a stylesheet?

      What I do not understand is when the stylesheet lies in a directory and I try to

      link it from the sites in the same directory with

       

      <link rel="stylesheet" type="text/css" href="webshop.css" />

       

      sometimes, belonging from the site I come from, the stylesheet works and sometimes it does not work.

       

      I would be great if there was a way to put the stylesheet(s) in a directory under webcontent and link it from every site.

      The same is with the images.

       

      Can you tell me a good way?

      Thanks very much.

      NSchweig