|
The Code Inspector is the quickest and easiest way to apply styles to existing HTML tags in your documents. However, style definitions are often embedded in the header of documents or grouped together in external files. In those cases, you will need the CSS Editor to define styles.
To start the CSS Editor:
- Select the CSS toolbar by clicking the CSS tab.
- Click on Edit document or Edit external file, depending on whether you want your style definitions in the current document or in a separate file.
- Click on Style and select New to bring up the Style Editor.
Style Editor
The Style Editor allows you to assign styles to a selector such as an HTML tag, class, or ID. You can assign as many style definitions as you like.
Style Definition Window
Once all your styles are defined, click on ok and they'll be inserted in your document. You can always re-edit the styles by bringing back the CSS Editor (select the desired style and right click–modify). If you've defined your styles in an external file, you have to specify where to find it in your document's header. Fortunately, you can use AceHTML wizard to add the code for you (Edit links under the CSS tab).
|