Customizing the applications > Customizing Ad Hoc Correspondence > Managing table styles > Adding new table styles

Adding new table styles
You add new styles by adding new classes to the style sheet file. Each class must have a unique and descriptive name, since the class name is exposed to end-users as the name of the table style.
You add formatting for the style by defining CSS properties for the class. The properties should be within brackets, see Example 1 below.
Example 1
.divisionGreenRecordTable{
color:#228b22;
width:300pt;
}
 
 
Prerequisites
Before updating the content.css file, you should back up the file.
To add a new table style
1
Open the content.css style sheet file in a text editor. The file is located in:
<Portal root>\<Name>_adhoc\css
For example, for Apache Tomcat:
<TOMCAT_HOME>\webapps\<Name>_adhoc\css
2
3
To see the new table style in Ad Hoc Correspondence, you must restart the web browser and open an Ad Hoc document. In the document, you can create a table with the new table style. Since the text editor does not always display the correct formatting, you must close the editor and preview the table in the Ad Hoc document.
OpenText StreamServe 5.6 Updated: 2013-03-01