Home
Download your own copy of Doc To HTML Converter today!Prev Page Prev Page
Introduction
Using DocToHtml
Getting Started
Conversion Options Dialog
General
Output Filenames
Template Data Editor
Images
Meta Tags
CSS
Advanced
JavaScript
HTML Code
Font Attr
Paragraph Attr
List Attr
Table Attr
Text Boxes
Body & Footer
Footnotes & Endnotes Options
HTML Template
XML & Charset & PG
Browsers
Search & Replace
Batch
Filemasks
Progress Form
Batch Converter
Main Window
Settings Dialog
General
Memory
Timeouts
Command Line Support
Search & Replace Dialog
Installation Issues
Uninstallation Issues
Crash Recovery
Support for 64-Bit MS Word
Troubleshooting
Common Issues
Deep Troubleshooting
Registration Benefits
How to Buy
Support & Feedback
FAQ
How to Speed up the Conversion
Unsupported Formatting
License Agreement
Privacy Policy
Change Log
Credits
Other Products

CSS Tab


CSS Tab of DocToHtml Converter Options Dialog

Location of stylesheet—this option determines where the stylesheet will be placed: in the output HTML file, or in a separate CSS file. If a separate file is used, a tag looking like <link rel="StyleSheet" type="text/css" href="doc.css"> will be inserted in the HEAD section of the resulting HTML file (in this example, the output HTML file is named doc.html, and the CSS file is named doc.css).

Do not include styles from the converted document itself—if this option is turned on, no style definitions will be added to the document’s stylesheet. Note that if you opt to include some CSS files or links to them via the “Additional style definitions” group of controls, the stylesheet with the specified CSS files and links will be generated anyway. To make sure that a stylesheet is not included in the output HTML file, turn on this option and turn off the following two options.

Use inline paragraph styles definitions everywhere—this option lets you include an inline CSS specification in the "style" attribute of each styled <P> tag. This is an alternative way to specify the formatting (as another alternative, you can use the "class" attribute). Turn this option on if for some reason you want to omit the resulting CSS, while keeping the formatting as in the original document. Please note that if the following two options are turned off, DocToHtml will not insert any inline style specifications for simple (unstyled) P tags or H1..H6 heading tags. This way, you can use your own website-wide default CSS.

The “For default paragraph style” and “For headings” sub-options let you also include inline CSS specifications in simple <P> tags or H1..H6 heading tags. Turn this option on if for some reason you want to omit the resulting CSS, while keeping the formatting for all elements as in the original document.

Include the following files is a text input field that lets you enter a list of CSS files, separated by semicolons, to be included in the document’s stylesheet. Though you can edit the list right here, it might be more convenient to use the special editing form. To open the form, click the three-dots button to the right of the text input field.

Include links to the following files is a text input field that lets you enter a list of CSS files, separated by semicolons, to include links to. Though you can edit the list right here, it might be more convenient to use the special editing form. To open the form, click the three-dots button to the right of the text input field.

File selection editor

(open by clicking the three-dots button)

CSS File Selection Dialog in DocToHtml

The Plus button opens a file opening dialog where you can select multiple CSS files to be added to the list.

The Minus button deletes the selected items from the list.

Up/Down arrows move the selected items up or down, respectively.

In the resulting document, the files will appear in the same order as displayed in the editor.