This content has been marked as final.
Show 2 replies
-
1. Re: Adding stylesheets to page not working
jbarbeau Jun 11, 2008 5:35 PM (in response to jbarbeau)Sorry the first ex should look like this:
<link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/test.css" />
-
2. Re: Adding stylesheets to page not working
sergeysmirnov Jun 11, 2008 5:49 PM (in response to jbarbeau)Your first question has no relation with RichFaces. Most likely, you point to the wrong directory trying to use a relative path.
Usually, adding the content relative prefix helps. If you use JSF 1.2 or Facelets, you can try:<link rel="stylesheet" type="text/css" href="#{facesContext.externalContext.requestContextPath}/css/theme.css" />