HOW TO: Create a Style Class or ID Within a Style Sheet in FrontPage 2000 (233096)
The information in this article applies to:
This article was previously published under Q233096 SUMMARY This article describes how you can use FrontPage 2000 to
define classes and IDs within Style Sheets.
back to the top
Create a Class- On the Format menu, click Style.
- Click New Style, or choose to modify an existing style.
- In the Name box, type a new name preceded with a period (.). For example:
.myClass
back to the top
Create an ID- On the Format menu, click Style.
- Click New Style, or choose to modify an existing style.
- In the Name box, type a new name preceded with the number sign (#). For
example:
#myId
back to the top
Apply the Class or ID to Style Sheet To apply a class to the page, select the class from the list of
formats on the Formatting toolbar. The class will be applied to the base style
which you have selected. To apply an ID to the element, switch to
HTML view and type the ID as an attribute of the desired tag. For Example: If the ID you create was "#myId" and you want to apply
it to a paragraph tag, edit the paragraph tag as follows:
<p id=myId>text in a paragraph</p>
back to the top
REFERENCES For more information on using classes in CSS, please see
the following location on the World Wide Web Consortium web site: For more information on using IDs in CSS, please see the
following location on the World Wide Web Consortium web site:
back to the top
Modification Type: | Major | Last Reviewed: | 8/12/2005 |
---|
Keywords: | kbhowto kbHOWTOmaster KB233096 kbAudDeveloper |
---|
|