Style sheets

iSeries™ Access for Web uses Cascading Style Sheets (CSS) to control certain aspects of the appearance of page content.

The default style sheet controls the look of the page header, page footer, navigation bar and page content. This style sheet is referenced from the default home page, default page template, and default login template using the %%STYLESHEET%% special tag. The default style sheet is supplied in /QIBM/ProdData/Access/Web2/html/iwa_styles.css.

A second style sheet overrides the colors used in the default style sheet with the colors used by iSeries Access for Web prior to V5R4M0. This style sheet is referenced from the classic page template (/QIBM/ProdData/Access/Web2/html/webaccess_classic.html) using the %%STYLESHEET_CLASSIC_COLORS%% special tag. This style sheet is supplied in /QIBM/ProdData/Access/Web2/html/iwa_classic_colors.css.

The iSeries Access for Web style sheets can be used with a customized home page, page template, or login template. Use the %%STYLESHEET%% and %%STYLESHEET_CLASSIC_COLORS%% special tags to include the style sheets in your customized files.

Customized style sheets can be created using the iSeries Access for Web style sheets as a starting point. The customized style sheets must be referenced from a customized home page, page template, or login template. This requires knowledge of using CSS with HTML.

Related concepts
Customized content
Special tags
Home page
Page template
Login template