ccs or style sheet?

  • Thread starter Thread starter LAnne
  • Start date Start date
L

LAnne

Ok I've done this before but can't recall how.

I want the page that shows the discussion forum article to
have a set style ie; I want to change the font.

What page do I assign the style sheet to> is it the page
with the contents? or the page with the form?

Also what is best....

a css? or style sheet?

Thanks!!!
 
Hi Anne,

Actually, "CSS" and "Style Sheet" are synonymous, as "CSS" stands for
"Cascading Style Sheet." I beleive what you meant was, is it better to use a
Style Sheet Definition in the page or in an external Style Sheet (.css)
file?

Cascading Style Sheets are called "Cascading" because you can override a
style set in a Style Sheet with an inline style. So, the rule of thumb is,
the "closer" style definition to the HTML element will be the one used by
the browser. For example, you can even use multiple Style Sheet definitions
in a page, and the one closest and above the HTML in question will take
precedence.

Probably more information than you cared for. But I was prefacing my remarks
here. I think if you want to apply a Style across a number of pages, such as
a style that makes your entire site have the same look, use an external
Style Sheet (.css file). Remember that you can override it whenever you want
to with inline styles.

an external Style Sheet reference looks something like the following:

<LINK href="/css/Styles.css" type="text/css" rel="stylesheet">

You would use this reference in the <head> section of any page you want to
use the external Style Sheet in.

To use a Style Sheet embedded in a page, just use the Format|Style...
command.

To set an inline style for a specific element, you would generally highlight
the element in FrontPage Editor, right-click and select <ElementName>
Properties. Then use the "Style" button to build the Style for that element.
In some cases, such as text, you may need to do a little direct coding of
your HTML to achieve this. FrontPage uses attributes for fonts in text. To
apply a style to a block of text, you would probably enclose it in a <span>
or <div> tag, and set the style for the enclosing tag.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
Thank you very much!

Ok I created a style for that page that houses the
submission form; but how do I get it to apply to the
discussion forum article? I also want to change the way
the field headings appear in the article? what tags do I
change?

(maybe I should have created an external css?)?

thanks!!!

-----Original Message-----
Hi Anne,

Actually, "CSS" and "Style Sheet" are synonymous, as "CSS" stands for
"Cascading Style Sheet." I beleive what you meant was, is it better to use a
Style Sheet Definition in the page or in an external Style Sheet (.css)
file?

Cascading Style Sheets are called "Cascading" because you can override a
style set in a Style Sheet with an inline style. So, the rule of thumb is,
the "closer" style definition to the HTML element will be the one used by
the browser. For example, you can even use multiple Style Sheet definitions
in a page, and the one closest and above the HTML in question will take
precedence.

Probably more information than you cared for. But I was prefacing my remarks
here. I think if you want to apply a Style across a number of pages, such as
a style that makes your entire site have the same look, use an external
Style Sheet (.css file). Remember that you can override it whenever you want
to with inline styles.

an external Style Sheet reference looks something like the following:

<LINK href="/css/Styles.css" type="text/css" rel="stylesheet">

You would use this reference in the <head> section of any page you want to
use the external Style Sheet in.

To use a Style Sheet embedded in a page, just use the Format|Style...
command.

To set an inline style for a specific element, you would generally highlight
the element in FrontPage Editor, right-click and select
 
You can't since the pages are created dynamically
- you can use a theme applied to the DW subweb (w/ your styles in the theme)

--




| Thank you very much!
|
| Ok I created a style for that page that houses the
| submission form; but how do I get it to apply to the
| discussion forum article? I also want to change the way
| the field headings appear in the article? what tags do I
| change?
|
| (maybe I should have created an external css?)?
|
| thanks!!!
|
|
| >-----Original Message-----
| >Hi Anne,
| >
| >Actually, "CSS" and "Style Sheet" are synonymous,
| as "CSS" stands for
| >"Cascading Style Sheet." I beleive what you meant was, is
| it better to use a
| >Style Sheet Definition in the page or in an external
| Style Sheet (.css)
| >file?
| >
| >Cascading Style Sheets are called "Cascading" because you
| can override a
| >style set in a Style Sheet with an inline style. So, the
| rule of thumb is,
| >the "closer" style definition to the HTML element will be
| the one used by
| >the browser. For example, you can even use multiple Style
| Sheet definitions
| >in a page, and the one closest and above the HTML in
| question will take
| >precedence.
| >
| >Probably more information than you cared for. But I was
| prefacing my remarks
| >here. I think if you want to apply a Style across a
| number of pages, such as
| >a style that makes your entire site have the same look,
| use an external
| >Style Sheet (.css file). Remember that you can override
| it whenever you want
| >to with inline styles.
| >
| >an external Style Sheet reference looks something like
| the following:
| >
| ><LINK href="/css/Styles.css" type="text/css"
| rel="stylesheet">
| >
| >You would use this reference in the <head> section of any
| page you want to
| >use the external Style Sheet in.
| >
| >To use a Style Sheet embedded in a page, just use the
| Format|Style...
| >command.
| >
| >To set an inline style for a specific element, you would
| generally highlight
| >the element in FrontPage Editor, right-click and select
| <ElementName>
| >Properties. Then use the "Style" button to build the
| Style for that element.
| >In some cases, such as text, you may need to do a little
| direct coding of
| >your HTML to achieve this. FrontPage uses attributes for
| fonts in text. To
| >apply a style to a block of text, you would probably
| enclose it in a <span>
| >or <div> tag, and set the style for the enclosing tag.
| >
| >--
| >HTH,
| >
| >Kevin Spencer
| >Microsoft MVP
| >..Net Developer
| >http://www.takempis.com
| >Big Things are made up of
| >Lots of Little Things.
| >
| >| >> Ok I've done this before but can't recall how.
| >>
| >> I want the page that shows the discussion forum article
| to
| >> have a set style ie; I want to change the font.
| >>
| >> What page do I assign the style sheet to> is it the page
| >> with the contents? or the page with the form?
| >>
| >> Also what is best....
| >>
| >> a css? or style sheet?
| >>
| >> Thanks!!!
| >>
| >
| >
| >.
| >
 
Back
Top