tag. It??™s a good idea to give your CSS
rules descriptive names, such as #header, #footer, #mainContent, and #navigation.
If you??™re not familiar with creating CSS style rules, see Chapter 7 for more information.
tags, follow these steps:
1. Choose Window ??? CSS Styles to open the CSS Styles panel.
2. From the CSS Styles panel, click the New CSS Rule button. This action opens the New CSS Rule
dialog box.
3. From the New CSS Rule dialog box, set the Type option to Advanced.
4. Enter a name for your new style in the Selector field. It??™s a good idea to create the style for your
tag as an ID. To create an ID, preface the style name with a pound sign, as in
#mainContent.
5. If you want to create your style in an external style sheet, use the Browse button to locate an existing
style sheet.
6. If you want to add the style to the region of the current document, select Define In This
Document Only.
7. Click OK when you??™re finished to open the CSS Rule Definition dialog.
8. Select the Positioning category.
Pages:
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726