Creating Assets

NEWS & TIPS

  • Site Access Keys
  • Top: Alt+t
    Previous: Alt+,
    Next: Alt+.
    Up: Alt+;
    (Note: use Ctrl on the Mac)

CSS

There are several ways to use CSS in the CMS. The most common ways include:

  • Include the CSS file(s) in the template. This is the standard practice for web sites.
  • Include a global CSS file and available classes (styles) in Tools -> Preferences -> Content. The global styles and CSS are included by default in the WYSIWYG for all users unless a more local CSS file and classes exist.
  • Include a local CSS file and available classes at the Target-level. This allows for specific CSS classes across different sites and pages.
  • Include a local CSS file and available classes at the Group-level. This allows for specific CSS classes based on the default group of the user. The Group-level classes and CSS override the Target and global levels.
  • CSS in the XSLT. CSS classes can be applied programmatically in the XSL to style the data definition and index block XML in whatever way desired.
Please note that you might need to extend or provide an alternate CSS file for use in the CMS that is different from what is used on your live site. This occurs when you make use of more precise selectors in the CSS (especially the use of ids like div#content). For the classes made available in the word processor in the CMS, you will want to make use of standard classes that aren't dependent on being positioned according to other elements. We recommend a standard naming convention like styles.css and styles-cms.css to differentiate the two.
Last modified on Tue, 11 Sep 2007 14:53:49 -0400

Topic Feedback Form

Content Rating:
Email:
Feedback:


Top / Previous / Next / Up / Table of Contents