CREATING EXTERNAL STYLE SHEETS


Create external sheets to centralize the formatting for your website, enabling you to make global changes at any time. If you've ever built a large website, you know that the formatting of pages is an evolving thing, changing as you incorporate more content. You use the same techniques as those for internal style sheets described earlier in this chapter to specify the settings for external style sheets:

1.

Select File, New to display the New dialog, as shown in Figure 37.17, and choose Web from the first column, CSS from the second column, and Basic CSS from the third column; then click OK. Notice that the title of the CSS Editor dialog box, as shown in Figure 37.18, represents an untitled.css file. You name this external style sheet when you save it.

Figure 37.17. Create new external CSS files in the New dialog.


Figure 37.18. The new untitled.css file contains some typical styles that you can keep, edit, or delete.


If you want to export your internal styles to an external style sheet, choose File, Export and select Internal Style Sheet.


2.

Define any styles you want to include in the external style sheet only and then choose File, Save As.

3.

Assign a name with a .css extension and click Save.




Special Edition Using Adobe Creative Suite 2
Special Edition Using Adobe Creative Suite 2
ISBN: 0789733676
EAN: 2147483647
Year: 2005
Pages: 426
Authors: Michael Smick

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net