2022.1

Table Of Contents
What you can't do with CSS
In Connect, it depends on the output channel what can and cannot be done with CSS. CSScan
only be used to its full potential with HTML output. Animation and transition features won't work
in Print output, obviously.
Included Cascading Style Sheets
When you create a template, a number of style sheets is automatically included:
l One style sheet that applies to all document types: context_all_styles.css.
l One or more style sheets specific to the context (Print, Email, Web). For example, when
you create an action email using the Wizard, the files context_htmlemail_styles.ccs and
basic_email_action.css are automatically added to the Stylesheets folder on the
Resources pane.
l A style sheet that defines default styles for tables: default.css. It contains the styles that
you can choose from when you insert a table via the Insert menu or the Insert table
toolbar button.
Note
Do not change the default.css style sheet. Use the global style sheet or the style
sheet for the relevant context to define your own styles for tables.
Adding CSS files
To add a CSS file of your own, open an Explorer window, drag the file to the Resources pane
and drop it on the Stylesheets folder.
In case the CSS file has references to specific images, you can drag/drop or copy/paste those
images into the Stylesheets folder as well.
To create a new CSS file, right-click the Stylesheet folder on the Resources pane and select
New Stylesheet.
You can also import one or more CSS file from another template using the "Import Resources
dialog" on page1029.
Remember to add or import any files the CSS file refers to.
Page 788