How to Add a New Style to the Drop-down Style Box?

D

Davy

How can I add a new text format item to the drop down style box?

I am using a standard FrontPage 2000 theme, but when I amend the theme
to include a new text style the new text style does not appear in the
drop down style box - so I can't use the new style.

DAvy
 
S

Stefan B Rusynko

Post the style that you have added
- how did you add it to your themes style sheet?
(using Themes Format Text - More Styles?)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


How can I add a new text format item to the drop down style box?

I am using a standard FrontPage 2000 theme, but when I amend the theme
to include a new text style the new text style does not appear in the
drop down style box - so I can't use the new style.

DAvy
 
D

Davy

Post the style that you have added
- how did you add it to your themes style sheet?
(using Themes Format Text - More Styles?)

Yes, followed that route then changed the 'caption' style to the font I
wanted. But 'caption' then does not appear in the drop down style box.
It does appear in format/styles but has no effect when I select the
'caption' text style.

So in Format/Themes/Modify/Text/More Styles I added a 'test' style.
That worked and .test appears as a option in the styles drop down box.

Davy
 
D

Davy

Yes, followed that route then changed the 'caption' style to the font I
wanted. But 'caption' then does not appear in the drop down style box.
It does appear in format/styles but has no effect when I select the
'caption' text style.

So in Format/Themes/Modify/Text/More Styles I added a 'test' style.
That worked and .test appears as a option in the styles drop down box.

Davy

Although that worked in a test web it does not work in my real web.
With experience I can now revise my question to be "how do I get the
additional styles that are shown in format/theme/text/'more styles' to
appear in the drop down style box?

DAvy
 
S

Stefan B Rusynko

The caption tag is a html tag
(html tags do not appear in the style dropdowns)
- the style you created for caption would be automatically applied only to any caption tag applied to any table

Create a style class using a non-html tag name - like say
..red {font-color:red}
and it will appear in the style dropdown
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Yes, followed that route then changed the 'caption' style to the font I
wanted. But 'caption' then does not appear in the drop down style box.
It does appear in format/styles but has no effect when I select the
'caption' text style.

So in Format/Themes/Modify/Text/More Styles I added a 'test' style.
That worked and .test appears as a option in the styles drop down box.

Davy

Although that worked in a test web it does not work in my real web.
With experience I can now revise my question to be "how do I get the
additional styles that are shown in format/theme/text/'more styles' to
appear in the drop down style box?

DAvy
 
D

Davy

The caption tag is a html tag
(html tags do not appear in the style dropdowns)
- the style you created for caption would be automatically applied
only to any caption tag applied to any table

Create a style class using a non-html tag name - like say
.red {font-color:red}
and it will appear in the style dropdown

Stefan,
you are exactly right; by an unfortunate co-incidence the style I was
trying to create (caption) had the same name as an html tag. Even when I
created a style preceded with my initials (ds caption) that didn't work.
But ds_caption did; I can see it in the drop down style box.

many thanks

DAvy
 
S

Stefan B Rusynko

As you discovered, Style names can not have spaces in them

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


The caption tag is a html tag
(html tags do not appear in the style dropdowns)
- the style you created for caption would be automatically applied
only to any caption tag applied to any table

Create a style class using a non-html tag name - like say
.red {font-color:red}
and it will appear in the style dropdown

Stefan,
you are exactly right; by an unfortunate co-incidence the style I was
trying to create (caption) had the same name as an html tag. Even when I
created a style preceded with my initials (ds caption) that didn't work.
But ds_caption did; I can see it in the drop down style box.

many thanks

DAvy
 

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