Sun Java System Communications Express 6.3 Customization Guide

Adding New Style Sheet Definitions

You can add new style sheet definitions and also change the class attribute reference for the desired HTML tag in XSL files. You can add a different class definition altogether in the CSS file, where the newly defined class needs to be assigned to the XSL file.

.EMPBtn { font-family: Arial, Helvetica, sans-serif; text-decoration none; font-weight:bold; color: #594fbf; }

Example 7–10 shows the corresponding changes in the XSL file.

Example 7–10 After Changing Class Attribute Reference for the Desired HTML Tag

<input class=”EMPBtn” id=”close”onblur=”if(this.disabled==0)
this className=’Btnl’”onmouseover=”if)this.disabled==0) 
onmouseout=”if (this.disabled==0)