![]() ![]() ![]() |
A style is a formatting specification for page display. HTML styles are independent entities that have no effect on the structure of a document; they are used by authors to assert control over the way their documents look. HomeSite styles can be quite detailed, or as simple as changing a margin. You can type a STYLE block directly into an HTML document or use the Style Editor.
To learn more about Cascading Style sheets (CSS), see the World Wide Web Consortium's style sheet guide.
Also, see the Allaire Alive presentation on Cascading Style Sheets.
An extended help file on CSS is available at the Web Worker's Toolbox site.
You may want to adopt a naming convention for styles so that you can quickly identify them. For example, if you plan to create multiple Heading 1 styles, you could use the class name followed by the attribute, such as, H1.red italic, H1.blue indent. Style names can contain any combination of characters and spaces.
You have a number of options for saving a style sheet:
To insert a style sheet, just drag and drop a .css file into the current document. The style sheet is automatically placed in the HEAD section of the document.
You can use the Style Editor to change styles within a document or in CSS files.
![]() ![]() ![]() |
AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.