Word spacing and independent classes

  • Thread starter Thread starter JBK
  • Start date Start date
J

JBK

I'm teaching a class in FrontPage 2002. One of my students
noted that the 'word-spacing' feature in the paragraph
selection of the format menu does nothing when he's tried
using it. I tested this and found out that he's right. So,
I modified the FP-generated code--which was: <p word-
spacing: 9px> to a style. The style code was: <style><p
{word-spacing: 9px}</style> This worked however, anytime
that the paragraph tag is used on that page, the word-
spacing style takes over. Thus, I rewrote this as an
independent style. No good. FrontPage won't acknowledge
it. Has anyone else attempted using an independent CSS
style and had a similar result?
 
Hi,
you shouldn't be using the format menu to set styles - as you've noticed FP
wries inline styles. Also it's better to use ems for word/letter spacing.
I'd do either
#someID p{
word-spacing:.25em
}
and then
<div id="someID">
<p>some text with word spacing</p>
<p>some more text with word spacing</p>
</div>
or
..spaced{
word-spacing:.25em
}
and then
<p class="spaced">some text with word spacing</p>

Obviously experiment with .25 to get the effect you want
 
Back
Top