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

Lesson 11. Using Cascading Style Sheets > Linking and unlinking a style sheet t...

Linking and unlinking a style sheet to multiple pages

Adobe GoLive lets you easily apply an external style sheet to several pages all at once, doing away with the tedious task of linking it to each page in a site one page at a time.

1.
Double-click the MyPoetry.css style sheet in the site window to open it.

2.
Create a new element selector. Name it h1, set the color to Red, and the type size to 2 em.

3.
Save and close MyPoetry.css.

4.
In the Files tab of the site window, hold down Shift and select PoetryBuilder.html and Spotlight.html.

5.
In the File Inspector, click the Styles tab.

6.
Enter the URL of the external style sheet MyPoetry.css into the text box at the bottom of the Inspector. You can also use the Point and Shoot button to select the style sheet in the Files tab of the site window, or click the Browse button in the Styles tab and locate the MyPoetry.css style sheet in the Styles folder of the PoetryPond.com folder.

7.
Click the Add button to link the selected style sheet to the pages selected in the Files tab. If prompted to close and save any open pages, click Close to proceed.

That's all there is to it! You can just as easily unlink the style sheet from multiple pages.

8.
In the Files tab of the site window, select PoetryBuilder.html and Spotlight.html again.

9.
In the File Inspector, click the Styles tab.

10.
In the Styles tab, select the MyPoetry.css style sheet.

11.
Click the Remove button.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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