• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 37. Using Cascading Style Sheets... > Creating External Style Sheets

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.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint