• Post Reply Bookmark Topic Watch Topic
  • New Topic

CSS not applying in JSF2

 
John Morgan
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some reason my CSS is not rendering in my JSF pages. From everything I can see it looks right but none of the padding, etc are working. Any suggestions?

Code as follows

Template:

Header:

CSS:
 
Tim Holloway
Bartender
Posts: 18408
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you put the stylesheet in the resources/css folder?
 
John Morgan
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is.
 
Tim Holloway
Bartender
Posts: 18408
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The docs I found in this were pretty fuzzy, and it has been a while, but a quick search for an example was using "css" for the library attribute.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!