frontpage should let me add HTML elements to Style drop-down list

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can see my own custom styles when I attach a style-sheet to a page, but
even if you add strong to the style-sheet, they do not show in the list.

There are many HTML elements, but they are not on the Style drop-down list.
I wish I could add them to it. For example, <strong>, <em>, <span> and more.
 
I can see my own custom styles when I attach a style-sheet to a page, but
even if you add strong to the style-sheet, they do not show in the list.

That's the right thing to do.

When you redefine an HTML tag, those styles are AUTOMATICALLY applied. You
can't pick and choose as you can do with a custom class.
 
If you are using an external style sheet, you would need to make the style
like this for it to show in your listing:

..strong { font: normal bold 12px/17px Verdana, Arial, sans-serif; }

The styles defined by a preceding # do not show in the pull-down style list.

Note above we are setting the font to non-italic, bold, 12px size, 17px line
height, with the fonts at the end. If you want only strong, you could define:

..strong { font-weight: strong; }

Teri
:)
 
--
Murray
============

Teri Carnright said:
If you are using an external style sheet, you would need to make the style
like this for it to show in your listing:

.strong { font: normal bold 12px/17px Verdana, Arial, sans-serif; }

The styles defined by a preceding # do not show in the pull-down style
list.

Note above we are setting the font to non-italic, bold, 12px size, 17px
line
height, with the fonts at the end. If you want only strong, you could
define:

.strong { font-weight: strong; }

Teri
:)
 
Oops. I guess there should be a way through FP's UI to insert either <b> or
<strong>, and either <i> or <em>.
 
Even with a style applied, you can apply <b>, <i> or <u> to any text from the button menu.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
If you want to add <strong>, <em>, etc. you have to open the Font Dialog to apply them.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
<font> and <u> are deprecated and <b>, <i>, are not ADA compliant.
I thank you for the information about the Font Dialog for <strong>, <em> and
the others, but it would be more convenient to have them available on the
button bar or allow me to add the elements to the Style drop-down list and
 
Deprecated doesn't mean that they can't be used!

I not a big fan of using CSS, unless absolute necessary and just leave it at that.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
I'm cool with that . . . whatever works for you is what is important. I
don't use what does not make my work easier or better either. In my situation
I have 10,000 pages that sometimes need to be updated with a new look and
feel and CSS helps a lot with that. If I were to use <font> I would have a
hard time updating my sites and I am working to make the site as ADA
compliant as possible. That will take time, but if my tools can help me get
there faster I am all for it.

So, what do you think about the idea of being able to add more HTML elements
to the Style drop-down list? They could pick it up out of an attached style
sheet the way they pick up custom styles. I already put them there . . .
they just don't show up on the list and won't wrap around selected text. I
wish they would put a <span> around selected text and apply the style, too.
 
I use ASP to control fonts, hyperlinks colors, table/cell colors, background images, etc. in most
cases, so in many way I get the same benefits that users of CSS get, plus on additional benefit over
CSS, the browser doesn't have to refer to another file to determine how to display the page each
time it is requested.

I would just create a custom style, other than that I don't really have any thoughts on ability to
do so, since it is not something that I have any need to do.

I agree that folks need to use whatever works best for them.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
There is a workaround (FP2003), but may be impractical:

Highlight the text, then click the highlighter in the toolbar. This
wraps the text in a <span> tag with an inline style to change the
background colour. Then use the quicktabs bar to edit the span tab.
However, attempting to apply a style to just the spanned text by
highlighting the text(or part of it) still applies the style to the
entire paragraph.
 
That's a good workaround. thanks. But, as you see, FP2003 still applies the
style to the outer <p> tag. I Guess the Microsoft development team doesn't
actually use their own product or they would have caught this a long time ago.

I sent this to the MS wish list and if you all think this is a good idea,
please vote for it.
 

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

Back
Top