General preferences allow you to specify settings for saving files and for table editing. These settings apply to every document you create.
If you are not already viewing the KompoZer general preferences, follow these steps:
- Open the Edit menu (Mozilla menu on Mac OS X) and choose Preferences.
- Click the General category on the category sidebar.
Recent Pages Menu
Maximum number of pages listed: Specify the maximum number of pages that are listed under Recent Pages in the File menu.
When Saving or Publishing Pages
- Retain original source formatting: This option preserves line breaks and the page's original formatting for the HTML source code. Select this if you want to preserve white space (extra lines, tabs, etc.) that makes the HTML source code more readable. This preference does not affect how your pages appear in a browser window.
- Reformat HTML source: This option reformats the HTML source code to make it more readable, by inserting line breaks and indentation. This preference does not affect how your pages appear in a browser window.
For example, when editing a remote page, this setting ensures that all related files associated with the remote page will be saved locally when you save the page to your hard disk.
- Always show Publish dialog when publishing pages: If checked, KompoZer always displays the Publish Page dialog box when you click the Publish button or choose Publish from the File menu. If not checked, KompoZer only displays the Publish Page dialog box if it needs more information in order to publish the page.
Maintain table layout when inserting or deleting cells: Select this if you want KompoZer to always preserve the table's layout (that is, keep it in a rectangular shape) by adding cells where needed. If you deselect this option, when you delete one or more cells, KompoZer removes the cell border as well, which can result in a table with empty spaces, or an outline that appears irregular due to an uneven number of cells.[Return to beginning of section]
Cascading Style Sheets(CSS) Editing
Use CSS styles instead of HTML elements and attributes: Enables the use of Cascading Style Sheet (CSS) formatting in your KompoZer documents. With this preference enabled, KompoZer generates HTML 4.01 formatting with CSS inline styles for elements.
If this preference is not enabled, KompoZer generates HTML 4.01 formatting, but does not use CSS styles.
Compared to HTML, HTML with CSS formatting is more portable, more maintainable, and more compatible when viewed with different browsers. If you enable this preference and then edit a document created without CSS, KompoZer replaces the edited elements with CSS styles.
If you enable CSS styles, you can choose a text highlight color for selected text using the text highlight color button on the Format toolbar. You can also choose a color background for any element on the page. (These features are not available if this preference is not enabled.)[Return to beginning of section]
Always open a document in a new tab: Select this if you want to open documents in new tabs when using the Site Manager. If unchecked, double clicking on filenames in the Site Manager will open the files in new windows.