PC Review


Reply
Thread Tools Rate Thread

How to correctly use CSS in FrontPage?

 
 
Ann Miller
Guest
Posts: n/a
 
      23rd Sep 2005
I apologize for this newbie question but can some of you 'gurus' explain in
simpler terms how to incorporate CSS stylesheet into a FrontPage web? I am
using FP 2003 and Top Style 3.10.

My personal web site code looks horrible with all those font attributes. I
downloaded the Tidy HTML and stripped all the font tags. I have also created
a simple CSS file that has font type and font size elements. It also has H1,
H2 elements.

My CSS is in the root of the web with the following parameters in the <head>
</head> section

<link rel="stylesheet"
type="text/css"
href="myfirst.css">

It works fine, it shows all the attributes except I don't know how to use it
in a 'normal sense'. (??)

Say I added a new paragraph of text on a page and want the font to be bold,
bigger (H1, H2 etc), and let's say, red in color (assuming all these
elements are already defined in the CSS file). How would I go about
achieving that in FP given my css tags are correct and linked properly?

I hope this is not as tough as it appears while writing these details.

Any help greatly appreciated. I am beginning to understand the CSS but just
not sure how to properly use it from within FP.

Ann Miller


 
Reply With Quote
 
 
 
 
Ronx
Guest
Posts: n/a
 
      23rd Sep 2005
See www.w3schools.com for a CSS tutorial.

If your HTML tags are defined in the CSS sheet, and you apply the
sheet to your page as you described, the tags will take on the styles
automatically.
Note that there is a difference between H1 and bold or bigger text.
H1, H2 etc, are for headings. For bold text use <b>bold text</b>
To make some "ordinary" text red in colour define a class in the style
sheet:

..red {color:red;background:transparent;}

and apply it
<p>This is <span class="red">red text</span> in a sentence</p>

--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

"Ann Miller" <annmiller88@aol_fakemail.com> wrote in message
news:(E-Mail Removed)...
>I apologize for this newbie question but can some of you 'gurus'
>explain in
> simpler terms how to incorporate CSS stylesheet into a FrontPage
> web? I am
> using FP 2003 and Top Style 3.10.
>
> My personal web site code looks horrible with all those font
> attributes. I
> downloaded the Tidy HTML and stripped all the font tags. I have also
> created
> a simple CSS file that has font type and font size elements. It also
> has H1,
> H2 elements.
>
> My CSS is in the root of the web with the following parameters in
> the <head>
> </head> section
>
> <link rel="stylesheet"
> type="text/css"
> href="myfirst.css">
>
> It works fine, it shows all the attributes except I don't know how
> to use it
> in a 'normal sense'. (??)
>
> Say I added a new paragraph of text on a page and want the font to
> be bold,
> bigger (H1, H2 etc), and let's say, red in color (assuming all these
> elements are already defined in the CSS file). How would I go about
> achieving that in FP given my css tags are correct and linked
> properly?
>
> I hope this is not as tough as it appears while writing these
> details.
>
> Any help greatly appreciated. I am beginning to understand the CSS
> but just
> not sure how to properly use it from within FP.
>
> Ann Miller
>
>



 
Reply With Quote
 
Ann Miller
Guest
Posts: n/a
 
      23rd Sep 2005
Thanks.

"Ronx" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> See www.w3schools.com for a CSS tutorial.
>
> If your HTML tags are defined in the CSS sheet, and you apply the
> sheet to your page as you described, the tags will take on the styles
> automatically.
> Note that there is a difference between H1 and bold or bigger text.
> H1, H2 etc, are for headings. For bold text use <b>bold text</b>
> To make some "ordinary" text red in colour define a class in the style
> sheet:
>
> .red {color:red;background:transparent;}
>
> and apply it
> <p>This is <span class="red">red text</span> in a sentence</p>
>
> --
> Ron Symonds
> Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
>
> "Ann Miller" <annmiller88@aol_fakemail.com> wrote in message
> news:(E-Mail Removed)...
> >I apologize for this newbie question but can some of you 'gurus'
> >explain in
> > simpler terms how to incorporate CSS stylesheet into a FrontPage
> > web? I am
> > using FP 2003 and Top Style 3.10.
> >
> > My personal web site code looks horrible with all those font
> > attributes. I
> > downloaded the Tidy HTML and stripped all the font tags. I have also
> > created
> > a simple CSS file that has font type and font size elements. It also
> > has H1,
> > H2 elements.
> >
> > My CSS is in the root of the web with the following parameters in
> > the <head>
> > </head> section
> >
> > <link rel="stylesheet"
> > type="text/css"
> > href="myfirst.css">
> >
> > It works fine, it shows all the attributes except I don't know how
> > to use it
> > in a 'normal sense'. (??)
> >
> > Say I added a new paragraph of text on a page and want the font to
> > be bold,
> > bigger (H1, H2 etc), and let's say, red in color (assuming all these
> > elements are already defined in the CSS file). How would I go about
> > achieving that in FP given my css tags are correct and linked
> > properly?
> >
> > I hope this is not as tough as it appears while writing these
> > details.
> >
> > Any help greatly appreciated. I am beginning to understand the CSS
> > but just
> > not sure how to properly use it from within FP.
> >
> > Ann Miller
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frontpage - Font Not Displaying Correctly =?Utf-8?B?Q2hyaXN0aW5lIEJyYWttYW4=?= Microsoft Frontpage 3 15th Nov 2006 10:32 PM
Access report does not printing correctly but preview correctly! Ngoc Dang Dinh via AccessMonster.com Microsoft Access Reports 0 10th May 2005 02:58 AM
making pages appear correctly in netscape using frontpage 2002 =?Utf-8?B?U3RlZi4=?= Microsoft Frontpage 6 20th Nov 2004 11:55 AM
copy frontpage to briefcase correctly? melissa Microsoft Frontpage 3 28th Nov 2003 10:41 PM
Home page not displaying correctly on computer w/frontpage loaded Peggy Reeder Microsoft Frontpage 1 12th Sep 2003 08:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:33 PM.