Portlet Factory, Version 6.1.2
Setting cell display attributes with style sheets
You can use style sheets to control formatting in a table. All TD elements in a table displayed on a page are assigned by class names (the "class" attribute). The name assignment looks as follows: TableNameColumnName. There is no space between the table name and column name.
An HTML CSS style can be assigned to the cells following HTML CSS rules.
For example, if your table has a name attribute where name=table1 and a column in the table that will have the name columnData, then the TD with a class would read TD.table1columnData. You can apply style in a block in the HTML page to which the Dynamic Table builder is associated such as:
<HTML> <HEAD> <STYLE TYPE=text/css> <!- TD.table1columnData{background-color:red} -> </STYLE> </HEAD> ...or alternately,
<HTML> <HEAD> <STYLE TYPE=text/css> <!- .table1columnData{background-color:red} </STYLE> </HEAD>You can then assign the TD tag as follows:
<TD class=.table1columnData></TD>Parent topic: Using the Dynamic Table builder
Library | Support |