wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problems with CSS and JSF" Watch "Problems with CSS and JSF" New topic
Author

Problems with CSS and JSF

Martin Lopez Ochoteco
Greenhorn

Joined: May 28, 2009
Posts: 15
Hi,

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.


JM.-
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with CSS and JSF