|
|
Create a ClassFrom time to time, you may find that your particular web site could use a special "class" defined in the style sheet. Classes are defined as follows: .nameofclass { The name of the class is always a single word, lower case, preceded by a period. There is a single space and a beginning curly bracket. Your attributes come next with each line separated by a semicolon. You must end each class statement with an ending curly bracket. Note: The main cause for a style sheet item not working is typing errors so check carefully before you panic. Chances are you typed a parenthesis rather than a curly bracket, or a color rather than a semicolon.
<td class=nameofclass> Note that there is no period before the name of the class! Or if you are using FrontPage, you can apply the class easily by highlighting the area and clicking on the style box in the top left of your screen. Click on the small arrow to access the drop down list. Scroll down the list until you find the classes associated with your style sheet at the bottom of the list. Click on the item name and your new class will be applied to your highlighted item. It's that simple.
|
Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 FrontPageWizard.com All Rights Reserved
Microsoft® and FrontPage® are registered trademarks
of Microsoft Corporation.
Microsoft Corporation is in no way affiliated with nor dose it endorse
FrontPageWizard.com
FrontPage Help Center By: Karey Cummins of Round The Bend Wizards
Curser by: Lisa's Curser • Meta Tag Generator by: SearchBliss • RGB Color Calculator by: Greg Reimer