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

Lesson 3. Creating the Presentation Laye... > Creating and Applying Custom CSS Sty...

Creating and Applying Custom CSS Styles

By providing presentation specifications for HTML styles, you have quickly formatted the vast majority of your site, both as it stands now and as you will develop it during this book. Better yet, you've also optimized the site for maintenance, since to update the look of the site, you have only to change the CSS file, which you can now do using Dreamweaver's CSS Styles panel from any page in the site, and the settings update instantly throughout the site. If the site is already loaded on a server, all you need to upload is the updated CSS file; you do not need to re-upload each of the pages.

The only drawback to what you have done so far is that you've been limited to redefining the look of pre-existing HTML styles. You haven't been able to create custom styles for text elements that aren't part of the HTML specification. For example, there is an author by-line in the Traveler's Journal of the index page, but HTML has no <author_byline> tag. In this task, you will learn how to create and apply custom styles, or classes.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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