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

Chapter 19. Using Style Sheets to Format... > Creating and Using CSS Classes

Creating and Using CSS Classes

A CSS class is a very powerful formatting tool. Some formatting tasks just cannot be easily accomplished using styles applied to HTML tags. There are also tasks that can be accomplished using styles applied to HTML tags, but are much better suited to CSS classes.

Defining a CSS Class

A CSS class is simply a collection of style elements packaged inside of a style and named with a custom name of your choice. That might not sound like much of a power tool, but it is: You will soon see why.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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