<[EMAIL PROTECTED]> wrote on 08/25/2005 03:29:57 PM: > here is my html source: > > <html> > <head> > <link href="pages/site.css" type="text/css" rel="stylesheet" > media="screen"> > <title>Test JSF and Shale</title> > </head> > <body> > jsf link test: <a href="#" class="linkMe">click me</a> > </body> > </html> > > I know that this is wrong. It should be <a href="#" > id="linkMe">click me</a> and I do not know how to make jsf to do it.
Well, did you try the code I gave you earlier? This is just what I was struggling with and finally the code I posted earlier worked. Here it is again: <link rel="stylesheet" href="<h:outputText value ="#{facesContext.externalContext.requestContextPath}/layout/style.html" /> " /> You will have to change /layout/style.html to (I suppose) /pages/site.css.. give it a shot! Geeta