Secondly, take a serious look at your use of span styles.
Span styles are short bits of style code which use the “span” tag – both
an opening and closing span tag, which is like saying “from here, to here”
– to style text between the spans. Like so:
<p>This is some text with<span class="stylename"> a different
style in the middle of it.
In Freeway Pro, you can also create what we might call “paragraph” styles,
that would be class styles which apply to a whole block of text instead of
a short bit of it. Like this:
<p class="stylename">This whole line of text, no matter how long it
is, gets the same style
When I see span styles in the code which extend from the beginning to the
end of a block of text, then I know that is an inefficient application of
style code.
<p><span class="stylename">This is a wasteful and inefficient way to
style this block of text
Freeway Pro distinguishes between the two by looking at the Paragraph
definitions for the style, like Alignment or such. They are called
Paragraph definitions because they appear in the Edit Styles window under
the Paragraph Section of style definitions. If there aren’t any for this
style, FWP considers it a SPAN style and will apply it with the span tag –
which is great for short bits of text inside a larger block of text, but
lousy for applying to whole blocks of text.
The simple way I trick FWP into making a style apply to the whole text
block is to just give it a redundant paragraph definition - like an
Alignment of Left. My text is already aligned left, but by defining it as
Left FWP now applies it to the whole block of text (warning - if you mean
to have a style apply sometimes to a smaller span of text and sometimes to
a whole block of it, then you should have two style definitions - one for
each appropriate application).
Applying a Span class style requires that you select just the text that you
want to affect - with Paragraph class styles, simply put your cursor
anywhere in the block of text and FWP will apply the style to the whole
block. Yay!
–
Ernie Simpson
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options