Reading "style name" in style box ?

J

Jimmy

FP2K

I'm having difficulty determining what (CSS) style is in use in a
particular paragraph/element. The only place the current style
seems to be displayed is in the "style selection" box on the toolbar.
Unfortunately FP puts "Normal.*" in front of all the names and this
causes the variable part of the name to be pushed out of the side of
the style box. (I do use large fonts, that probably contributes to
the problem).

Any solutions other than editing in the HTML ?
 
J

Jim Buyens

-----Original Message-----
FP2K

I'm having difficulty determining what (CSS) style is in
use in a particular paragraph/element. The only place
the current style seems to be displayed is in the "style
selection" box on the toolbar. Unfortunately FP
puts "Normal.*" in front of all the names and this
causes the variable part of the name to be pushed out of
the side of the style box. (I do use large fonts, that
probably contributes to the problem).

Any solutions other than editing in the HTML ?

Well, you can right-click the element, choose Properties,
and then click the Style button.

But this wouldn't pick up styles you assign to
paragraphs, spans, or divs.

And it wouldn't capture multiple styles that cascade to
the same element. Suppose, for example, you have a
hyperlink located inside a table cell. Styles might be
assigned to a "body" rule, a "table" rule, a "td" rule,
an "a" rule, and various class rules along the way.

It comes down to this: because you can't rely on one
element being controlled by one and only one style rule,
there's no simple answer to the question, "What style
controls a given element?"

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
J

Jimmy

And it wouldn't capture multiple styles that cascade to
the same element. Suppose, for example, you have a
hyperlink located inside a table cell. Styles might be
assigned to a "body" rule, a "table" rule, a "td" rule,
an "a" rule, and various class rules along the way.

It comes down to this: because you can't rely on one
element being controlled by one and only one style rule,
there's no simple answer to the question, "What style
controls a given element?"

I should have been clearer... I understand the "cascading"
issue. I'm just looking to see the information that is in the style
box more clearly to determine styles assigned to paragraphs. In
other words, if I could make the font in the style box smaller or
the style box itself bigger it would solve the problem.
 
Top