FP2002 and CSS

J

Jim Reeves

FP2002 and I are old friends (well, adversaries at times) but I am just
beginning with cascading style sheets. If a style is always included
between <p>and </p> in Front Page, doesn't that mean you cannot mix any
styles within a paragraph? For example, if I have a style that calls for
arial/10pt for a paragraph and I just want to bold three words in the
paragraph and use another style - arial/10pt/bold - for those three
words, the whole paragraph is converted to bold... even if there are a
couple of <br>s in the paragraph. I haven't experienced the same when
handcoding or in Dreamweaver. I think because I am not restricted to
putting everything between <p> tags. Is this a default situation with
Front Page or am I missing something? Thanks for any help... Jim
 
S

Steve Easton

If you have a style assigned, but want to make 3 words bold,
highlight the words, right click and select Font and set the font to bold.
It will only apply to the 3 words and "should" over-ride the
inline style tags.

hth


--
95isalive
This site is best viewed..................
...............................with a computer
FP2002 and I are old friends (well, adversaries at times) but I am just
beginning with cascading style sheets. If a style is always included
between <p>and </p> in Front Page, doesn't that mean you cannot mix any
styles within a paragraph? For example, if I have a style that calls for
arial/10pt for a paragraph and I just want to bold three words in the
paragraph and use another style - arial/10pt/bold - for those three
words, the whole paragraph is converted to bold... even if there are a
couple of <br>s in the paragraph. I haven't experienced the same when
handcoding or in Dreamweaver. I think because I am not restricted to
putting everything between <p> tags. Is this a default situation with
Front Page or am I missing something? Thanks for any help... Jim
 
S

Stefan B Rusynko

You can apply a style to a non block element by enclosing it in <span> tags
<p class="xyz">Some thing here <span class="abc">Some thing else</span>Some thing again</p>
--




| FP2002 and I are old friends (well, adversaries at times) but I am just
| beginning with cascading style sheets. If a style is always included
| between <p>and </p> in Front Page, doesn't that mean you cannot mix any
| styles within a paragraph? For example, if I have a style that calls for
| arial/10pt for a paragraph and I just want to bold three words in the
| paragraph and use another style - arial/10pt/bold - for those three
| words, the whole paragraph is converted to bold... even if there are a
| couple of <br>s in the paragraph. I haven't experienced the same when
| handcoding or in Dreamweaver. I think because I am not restricted to
| putting everything between <p> tags. Is this a default situation with
| Front Page or am I missing something? Thanks for any help... Jim
|
 
S

Stefan B Rusynko

Yes - In html view

--




| And that would be hand-coding it, right? Not a FP function?
|
| Stefan B Rusynko wrote:
|
| > You can apply a style to a non block element by enclosing it in <span> tags
| > <p class="xyz">Some thing here <span class="abc">Some thing else</span>Some thing again</p>
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| > | FP2002 and I are old friends (well, adversaries at times) but I am just
| > | beginning with cascading style sheets. If a style is always included
| > | between <p>and </p> in Front Page, doesn't that mean you cannot mix any
| > | styles within a paragraph? For example, if I have a style that calls for
| > | arial/10pt for a paragraph and I just want to bold three words in the
| > | paragraph and use another style - arial/10pt/bold - for those three
| > | words, the whole paragraph is converted to bold... even if there are a
| > | couple of <br>s in the paragraph. I haven't experienced the same when
| > | handcoding or in Dreamweaver. I think because I am not restricted to
| > | putting everything between <p> tags. Is this a default situation with
| > | Front Page or am I missing something? Thanks for any help... Jim
| > |
|
 

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