2022.1

Table Of Contents
Note
The order in which style sheets are executed, can affect the actual output. This sequence
can be set per section; see "Applying a style sheet to a section" on page502.
Tip
l To export a CSS file from your template, drag or copy/paste it out of the Stylesheets
folder to a folder on the local hard drive.
l It is possible to open and edit any CSS file in the Designer: select File > Open,
select All files (*.*) as the file type and then select a CSS file.
Using a remote style sheet
A remote style sheet is not located within your template but is located in a network folder or
hosted on an external web server (generally called a CDN). When generating Web output, files
on an external server are referenced in the web page's header and are served by the remote
server, not by the PlanetPress Connect Server module.
To add a remote style sheet:
1. Right-click the Stylesheet folder on the Resources pane, and click New Remote
Stylesheet.
2. Enter a name for the file as it appears in the Stylesheet resources. For better
management, it's best to use the same filename as the remote resource.
3. Enter the URL for the remote resource. If the file is located on an external web server, this
must be a full URL, including the http:// or https:// prefix, domain name, path and file name.
If the file is located on your network you can click the Browse button or enter the path and
file name manually. The complete syntax with the "file" protocol is:
file://<host>/<path>. If the host is "localhost", it can be omitted, resulting in
file:///<path>, for example: file:///c:/resources/images/image.jpg.
If the file is located on another server in your network, the path must contain five slashes
after "file:".
4. Optionally, for a Capture OnTheGo Form, you can check Use cached Capture
OnTheGo resource, to prevent downloading a remote style sheet again if it has been
downloaded before. The file should be available on a publicly accessible location, for
Page 789