Using a span tag to add a class and customize appearance


show more Using a span tag to add a class and customize appearance provides you with in-depth training on Web. Taught by Laurie Burruss as part of the Creating a CSS Style Guide: Hands-On Training show less
please wait ...

Using a span tag to add a class and customize appearance

So far all the styles that we have created are associated with an HTML tag, but what if we want to create a style that we can use throughout the page that adds emphasis or punctuates something or brings a highlight to a certain feature on the page? Can we do that? Yes, this is called a class. A class is a type of style that you can use any where on your HTML page as many times as you want. So let's try making one. Let's select the word bold right here in the body paragraph and then let's go down to the Property Inspector.

Before we start this make sure that you have the CSS button selected. Remember we are not working on structure now; we are creating styles. So this button should be selected, CSS for cascading style sheets. So I want to make something that's bold. I'm going to click on the Bold button and the instant I do that, a dialog box comes up called New CSS Rule. This is a new dialog box and a new feature inside of Dreamweaver CS4. It's a great feature. ...

Using a span tag to add a class and customize appearance
Video duration: 10m 34s 3h 31m Beginner

Viewers:

Using a span tag to add a class and customize appearance provides you with in-depth training on Web. Taught by Laurie Burruss as part of the Creating a CSS Style Guide: Hands-On Training

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