Login / Status
developer.Resource
Home . Documentation . Document Library . References
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

5.11. tableStyle

This is used to style a table-tag. The input is wrapped by this table-tag

Property:

Data type:

Description:

Default:

align

align /stdWrap

border

int /stdWrap

cellspacing

int /stdWrap

cellpadding

int /stdWrap

color.field

string

Set to fieldname from the $cObj->data-array

color.default

color.1

color.2

string

[default],[1],[2] = User defined

params

<TABLE>-params

[tsref:->tableStyle]

Example:

styles.content.tableStyle {
  align.field = text_align
  border.field = table_border
  cellspacing.field = table_cellspacing
  cellpadding = 1
  color.field = table_bgColor
  color.default = {$styles.content.tableStyle.color}
  color.1 = {$styles.content.tableStyle.color1}
  color.2 = {$styles.content.tableStyle.color2}
}


TYPO3 Core API

TSRef