We've had some very lengthy discussions about CSS/RedDot in the office
over the years (many developers have conflicting ideas about the best
way to handle CSS)..
However - here is the general consensus:
1. When developing a new site, always keep stylesheets outside of
RedDot (create absolutely referenced links to the stylesheets). That
way whilst you are developing your templates/content classes, front-
end developers can continually keep make changes to the stylesheet to
fix an bugs/browser compatibility issues without having to touch the
CMS. This is particularly helpful if you are using a deployment server
- whenever changes are checked in to Source Control, they are
automatically deployed to the location/server where they are being
referenced.
2. Once your site has been developed and test and is ready to deploy,
either:
a) Convert the stylesheets into Content Classes so that all
styles are managed within the project
OR
b) Reference the stylesheets directly from the published
site
I would suggest using option A if you are unable to directly access
the live server (via FTP etc) due to security restraints/restrictions
(particularly if the site is an Intranet hosted within an internal
network). The CMS makes it easy to update styles in this situation!
If you need to create specific styles for SmartEdit mode, or for
specific language variants - then simply manage these within a Content
Class. Any style within the referenced stylesheets can easily be
overridden within the CMS.
The main reason to keep stylesheets out of the CMS is to cut down the
amount of 'manual' duplication required to copy styles from the
'cutup' templates. Whenever you need to manual deploy changes, you
will always need to re-test everything in case you screwed something
up (which can easily happen from time to time!!!!)
Cheers,
Kim