This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
CSS is best done as separate files referenced by the View Definitions (xhtml) that use them. JSF2 has some tags to make it fairly easy to do that.
An IDE is no substitute for an Intelligent Developer.