File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.-
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problems with CSS and JSF
 
Similar Threads
Facelets + CSS problem; CSS is not applied after first request
CSS not loading
Casting Exception
JSF page Declarations
weird encoding problem