Help and Support

HOW TO: Create a Style Class or ID Within a Style Sheet in FrontPage 2000

Article ID:233096
Last Review:August 12, 2005
Revision:2.0
This article was previously published under Q233096
On This Page

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

1.On the Format menu, click Style.
2.Click New Style, or choose to modify an existing style.
3.In the Name box, type a new name preceded with a period (.). For example:
.myClass
					

Back to the top

Create an ID

1.On the Format menu, click Style.
2.Click New Style, or choose to modify an existing style.
3.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:
http://www.w3.org/TR/REC-CSS1.html#class-as-selector (http://www.w3.org/TR/REC-CSS1.html#class-as-selector)
For more information on using IDs in CSS, please see the following location on the World Wide Web Consortium web site:
http://www.w3.org/TR/REC-CSS1.html#id-as-selector (http://www.w3.org/TR/REC-CSS1.html#id-as-selector)









Back to the top


APPLIES TO
Microsoft FrontPage 2000 Standard Edition

Back to the top

Keywords: 
kbhowto kbhowtomaster KB233096

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.