CSS Questions

A

andy1946

1. How do I apply a CSS style and how do I create one?
2. If I create a CSS style under Format->Style, will
this do since I only want to apply the style to the font?

Thanks.
 
J

Jim Buyens

-----Original Message-----
1. How do I apply a CSS style and how do I create one?

Please try the procedure at:

Controlling Fonts for an Entire Web Site
http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=2
2. If I create a CSS style under Format->Style, will
this do since I only want to apply the style to the font?

This is a vague question. As a result, I can only give a
vague reply.

If you choose Style from the Format menu, and a Web page
is open, you are creating styles for use on that page
only. If you name the style with the name of an HTML tag,
such as body or td, it will automatically apply to
anything controlled by that tag. If you give the style a
name like .errmsg (note the leading period) then it will
apply to any tag that contains a class="errmsg" attribute
(note lack of leading period).

To create styles that affect your entire Web site, you
open a new blank style sheet, and then choose Style from
the Format menu. Then, you save the style sheet with
a .css extension, open or select as many Web pages as you
want, choose Style Sheet Links from the Format menu, and
specify the .css file you created.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top