Understanding class selectors


show more Understanding class selectors provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS5 Essential Training show less
please wait ...

Understanding class selectors

If you're used to using Word, InDesign or Quark to create styles, you are going to be really familiar with the concept of using Class Styles. Class selectors allow you to create a style with any name that you want. Any element that has that name as a class attribute is then styled with that formatting. The pros of using class selectors are that you can use them as often as you need, as many times as you need them, on any given page. The downside is that you have to apply them manually, so they take a little bit more effort to apply at first, when compared to element selectors.

Usually, when most graphic designers begin working in Web design, this is the type of selector they most often turn to to achieve targeted formatting. You need to be careful when using class selections, however. Often, designers will use them simply because they don't know of another, and usually more efficient, way to achieve the desired styling. This can cause an overabundance of class attributes in you...

Understanding class selectors
Video duration: 8m 49s 15h 22m Beginner

Viewers:

Understanding class selectors provides you with in-depth training on Web. Taught by James Williamson as part of the Dreamweaver CS5 Essential Training

Subject:
Web
Software:
Dreamweaver
Author:
please wait ...