CSS4J is a Java library that implements the Document Object Model CSS API and integrates it with the DOM4J package. Helper classes to format iText PDF objects according to CSS are also provided.
The library has had a number of improvements since 0.6. This milestone release is closer to spec compliance, and comes with a new packaging more friendly to projects that already depend on CSS4J.
URL: CSS4J: a CSS implementation for the Java™ platform