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

Chapter 6. Polishing Design with Style S... > Applying Style Sheets to Multiple Pa...

Applying Style Sheets to Multiple Pages

So far you’ve learned how to create a style sheet for a single page. But what if you want multiple pages, or even all the pages in your Web site to use the same style definitions? Can you do this without having to define the style sheet separately in each page? Yes, you can.

The best way to apply style definitions to multiple pages is to use a linked style sheet. With linked style sheets, you store the style definitions in separate files and reference the style sheet file in the pages that should use them. Not only does a linked style sheet make it easy to apply style definitions to multiple pages, but it also provides a single location for managing the style definitions. To make changes, you simply edit the contents of the linked style sheet—you don’t have to edit each affected Web page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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