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

Hour 24. Creating Reusable Web Pages: Us... > Using Behaviors and Styles in Templa...

Using Behaviors and Styles in Templates

You can use behaviors and styles in templates. Styles and JavaScript are applied to a web page based on the template. For you to be able to edit styles and behaviors in a web page, objects to which they are applied must be editable. Select an object that has a style or behavior and edit the style or behavior in the CSS Styles panel or the Behaviors panel.

Most web designers add links to external style sheets to their templates. That way the template content has access to all of the styles in the external style sheet. They will often place library items within templates, too. Even though Dreamweaver templates are designed to update the web pages that are created from them, it's not a good idea to do this all the time. Placing visual formatting in external style sheets enables you to update the look of the site without changing the template.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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