This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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.