11.4. Cascading style sheets (CSS)

Cascading style sheets (CSS) allows Web developer to control the look and feel of Web pages. Many pages can be associated with a single CSS file. If changes to a sites appearance are required they only have to updated in one place. WebSphere portlet uses CSS to give a common look for themes and skins. JSR 168 portlets should use the CSS style defined for the WSRP specification whenever possible. This allows the portlets to alter their appearance dynamically depending on the theme/skin they are displayed in. IBM also provide many classes for styles, but once again use the WSRP style whenever possible.

CSS files are located in the <WebSphere Application Server>\installedApps\localhost\wps.ear\wps.war\themes directory. ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.