permaculture playing cards
The moose likes JSF and the fly likes Problems with CSS and JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problems with CSS and JSF" Watch "Problems with CSS and JSF" New topic

Problems with CSS and JSF

Martin Lopez Ochoteco

Joined: May 28, 2009
Posts: 15

I'm having problems using CSS with some jspx's on the project I'm working.
I have almost all my pages on the public_html path, and to reference the link to my CSS file I use:

This works fine, but when I create a page on another path, let's say "public_html/some_directory/some_page.jspx" and I use:

The page opens with no styles. When I navigate to another one, this one does not show styles. And finally, when I navigate to a second page, this one shows it's styles OK.

Anyone else had this problem?
Help! I'm using jdeveloper IDE and myFaces Tomahawk components.

I agree. Here's the link:
subject: Problems with CSS and JSF
It's not a secret anymore!