Styles configuration
Many Web pages use a cascading style sheet to format their online content.
You can configure a system wide cascading style sheet for use with format area fields. Schema designers can then enable some styles which content authors can then apply to text within a format area field.
The system wide cascading style sheet is not published to your presentation system. Instead, you should ensure that the existing styles in your published cascading style sheet reflect those available in the system-wide style sheet.
You can configure the system-wide style sheet ( FormatAreaStyles.css ) in the following subfolder of your Content Manager root location (defaults to c:\Program Files\Tridion or c:\Program Files (x86)\Tridion):
web\WebUI\Editors\CME\Configuration\
This file contains all of the styles that can then be made available in a format area. All named styles defined in this file are available when configuring format area fields, where named styles include class selectors: [element].class.
Content authors can apply these styles to text and tables in a Component. This allows the content author to see the text as it will be rendered when it is published.
Table styles
You can also use the FormatAreaStyles.css stylesheet to define table formats that content authors can then apply to tables in format area fields:
- Tables — table.stylename
- Rows — tr.stylename
- Columns — colgroup.stylename or col.stylename
- Cells — td.stylename for data cells and th.stylename for header cells