changing html code fragment fonts and colors

  • Thread starter Kristi61 via OfficeKB.com
  • Start date
K

Kristi61 via OfficeKB.com

I redesigned a MSOP 2003 template and now I want to insert an html code
fragment for h1, h2 & h3 headers into the logo I designed. I can't get the
font, font weight or font color to change. I need MSOP 2003 compatable html
code for:

h1 header: comic sans ms, 14 pt, bold, custom color.
h2 header: verdana 28 pt bold black
h3 header: comic sans ms, 14 pt, bold, white

Do the Page Headers in the design gallery have html h1 - h3 in them? If so
can I ungroup one and modify the elements to use in my design without
changing the html code?

Thanks
Kristi
 
S

Spike

Have you looked at the styles in publisher? >Tools >Style
You can modify and create styles there

Spike
 
K

Kristi61 via OfficeKB.com

Spike,

I can't access styles from the tools menu. Can I change the html code
fragment font from there?

Thanks Kristi
Have you looked at the styles in publisher? >Tools >Style
You can modify and create styles there

Spike
I redesigned a MSOP 2003 template and now I want to insert an html code
fragment for h1, h2 & h3 headers into the logo I designed. I can't get
[quoted text clipped - 14 lines]
Thanks
Kristi
 
D

DavidF

Publisher does not use header tags in the code. If you go to Tools > Web
page options you can add a page title, description and keywords, but that is
the extent of the search engine information.

If your logo is an image you can add an ALT tag. Select the image > format
picture > Web tab and add the Alternative text.

DavidF
 
S

Spike

My error Oops!
Format >Style
Place the cursor in the area of your site you want to modify
Select the heading you want from the style list
The down arrow on the style will allow you to modify it

Spike

Kristi61 via OfficeKB.com said:
Spike,

I can't access styles from the tools menu. Can I change the html code
fragment font from there?

Thanks Kristi
Have you looked at the styles in publisher? >Tools >Style
You can modify and create styles there

Spike
I redesigned a MSOP 2003 template and now I want to insert an html code
fragment for h1, h2 & h3 headers into the logo I designed. I can't get
[quoted text clipped - 14 lines]
Thanks
Kristi
 
K

Kristi61 via OfficeKB.com

Hi,

I'm sorry I didn't make myself clear. H1 headline texts are the texts
written between the <h1>...</h1> tags in the HTML code of a webpage. The
same applies to h2 through h6 headline texts. Some search engines give extra
relevance to search terms that appear in the headline texts.

I redesigned a MSOP 2003 template and now I want to insert an HTML Code
Fragment for h1, h2 & h3 headline texts (3 seperate headline texts) into the
logo I designed. I can't get the font, font weight or font color to accept
modification when I attempt to insert HTML Code Fragment headline texts.
They all result in texts with Times Roman, normal font. I need MSOP 2003
compatable HTML Code Fragments for:

h1 header: comic sans ms, 14 pt, bold, custom color: Quarter Horses for Sale
h2 header: verdana, 28 pt, bold, black: Lacy Quarter Horses
h3 header: comic sans ms, 14 pt, bold, white: Working Horses that look good

Do the Page Headers in the Design Gallery have HTML h1 - h3 headline text in
them? If so
can I ungroup a Page Header from the Design Gallery and modify the elements
to use in my logo design without changing the headline text html code?

Thanks- Kristi

Publisher does not use header tags in the code. If you go to Tools > Web
page options you can add a page title, description and keywords, but that is
the extent of the search engine information.

If your logo is an image you can add an ALT tag. Select the image > format
picture > Web tab and add the Alternative text.

DavidF
I redesigned a MSOP 2003 template and now I want to insert an html code
fragment for h1, h2 & h3 headers into the logo I designed. I can't get
[quoted text clipped - 14 lines]
Thanks
Kristi
 
D

DavidF

You made yourself clear the first time. I understand what header tags are
for and I explained what options are built in to Publisher to add search
engine information...adding header tags is not one of them. I do not know
how to write the code to add them via a code fragment or if this is even
possible.

You may or may not be able to figure out how to add the tags via a code
fragment, but chances are if you want to use header tags you should switch
to a full code editor program to produce your site, as this is probably
beyond the scope of Publisher.

Good luck.

DavidF

Kristi61 via OfficeKB.com said:
Hi,

I'm sorry I didn't make myself clear. H1 headline texts are the texts
written between the <h1>...</h1> tags in the HTML code of a webpage. The
same applies to h2 through h6 headline texts. Some search engines give
extra
relevance to search terms that appear in the headline texts.

I redesigned a MSOP 2003 template and now I want to insert an HTML Code
Fragment for h1, h2 & h3 headline texts (3 seperate headline texts) into
the
logo I designed. I can't get the font, font weight or font color to
accept
modification when I attempt to insert HTML Code Fragment headline texts.
They all result in texts with Times Roman, normal font. I need MSOP 2003
compatable HTML Code Fragments for:

h1 header: comic sans ms, 14 pt, bold, custom color: Quarter Horses for
Sale
h2 header: verdana, 28 pt, bold, black: Lacy Quarter Horses
h3 header: comic sans ms, 14 pt, bold, white: Working Horses that look
good

Do the Page Headers in the Design Gallery have HTML h1 - h3 headline text
in
them? If so
can I ungroup a Page Header from the Design Gallery and modify the
elements
to use in my logo design without changing the headline text html code?

Thanks- Kristi

Publisher does not use header tags in the code. If you go to Tools > Web
page options you can add a page title, description and keywords, but that
is
the extent of the search engine information.

If your logo is an image you can add an ALT tag. Select the image > format
picture > Web tab and add the Alternative text.

DavidF
I redesigned a MSOP 2003 template and now I want to insert an html code
fragment for h1, h2 & h3 headers into the logo I designed. I can't get
[quoted text clipped - 14 lines]
Thanks
Kristi
 
K

Kristi61 via OfficeKB.com

David,

OK, I didn't know that the MSOP 2003 program restricted the use of HTML Code
Fragments for H1 through H6 headline texts. However, when I insert the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in Times New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline Text?

Kristi
You made yourself clear the first time. I understand what header tags are
for and I explained what options are built in to Publisher to add search
engine information...adding header tags is not one of them. I do not know
how to write the code to add them via a code fragment or if this is even
possible.

You may or may not be able to figure out how to add the tags via a code
fragment, but chances are if you want to use header tags you should switch
to a full code editor program to produce your site, as this is probably
beyond the scope of Publisher.

Good luck.

DavidF
[quoted text clipped - 43 lines]
 
S

Spike

Kristi

I just ran a test in Publisher 2007
Using the method I suggested earlier in this thread
It produced the following code on its own

<h1><span lang=en-US style='language:en-US'>Quarter Horse For
Sale</span></h1>

h1 is defined at the top of the coded page to be 14 pt comic sans ms
bold

Is this what you are looking for

Spike


Kristi61 via OfficeKB.com said:
David,

OK, I didn't know that the MSOP 2003 program restricted the use of HTML
Code
Fragments for H1 through H6 headline texts. However, when I insert the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font
weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in Times New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline Text?

Kristi
You made yourself clear the first time. I understand what header tags are
for and I explained what options are built in to Publisher to add search
engine information...adding header tags is not one of them. I do not know
how to write the code to add them via a code fragment or if this is even
possible.

You may or may not be able to figure out how to add the tags via a code
fragment, but chances are if you want to use header tags you should switch
to a full code editor program to produce your site, as this is probably
beyond the scope of Publisher.

Good luck.

DavidF
[quoted text clipped - 43 lines]
Thanks
Kristi
 
K

Kristi61 via OfficeKB.com

Spike,

I'm not sure whether that's what I'm looking for...You lost me there!...I've
never completely understood styles and formatting. I don't have a Headline 1
option on my styles and formatting. I'm afraid to fool around with it for
fear it will wreck havoc with what I've already created and I won't be able
to figure out how to fix it. Is it impossible to resolve my issue with
inserting the appropriate HTML fragment?

Thanks,
Kristi

Kristi

I just ran a test in Publisher 2007
Using the method I suggested earlier in this thread
It produced the following code on its own

<h1><span lang=en-US style='language:en-US'>Quarter Horse For
Sale</span></h1>

h1 is defined at the top of the coded page to be 14 pt comic sans ms
bold

Is this what you are looking for

Spike
[quoted text clipped - 34 lines]
 
D

DavidF

I did not say that Publisher "restricted the use of HTML code fragments for
H1 through H6 headline texts". I said there was no built-in support for
adding header tags in Publisher that I knew of, that I did not know how to
write the code or if it was possible to insert it with a code fragment.

If you insert the code fragment you propose, then look at the source code to
see if it is written the way you want it. I can't tell you if the code is
written correctly. While I can hack together some things and make them work,
I am not a coder.

As per the font, it appears that you are specifying two different fonts:
comic sans ms and Arial. If you want Arial, then try specifying only Arial:

<h1 style="font-size: 14 pt; font-family: Arial; font weight:
bold">Quarter Horses For Sale</h1>

But once again, I am not a coder so I can't say if this the proper coding or
not, but it seems to produce Arial font for me.

It also sounds like Spike found a way to get Publisher to do it, so perhaps
he can offer further instructions and assistance. Good luck.

DavidF


Kristi61 via OfficeKB.com said:
David,

OK, I didn't know that the MSOP 2003 program restricted the use of HTML
Code
Fragments for H1 through H6 headline texts. However, when I insert the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font
weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in Times New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline Text?

Kristi
You made yourself clear the first time. I understand what header tags are
for and I explained what options are built in to Publisher to add search
engine information...adding header tags is not one of them. I do not know
how to write the code to add them via a code fragment or if this is even
possible.

You may or may not be able to figure out how to add the tags via a code
fragment, but chances are if you want to use header tags you should switch
to a full code editor program to produce your site, as this is probably
beyond the scope of Publisher.

Good luck.

DavidF
[quoted text clipped - 43 lines]
Thanks
Kristi
 
S

Spike

The method I used was to place a line of text on the page in a text box all
its own
With the cursor in that text box I selected >format >style
In the window to the left I selected H1
The arrow on the right of H1 allows you to edit the H1
I made it the font and size that you requested

Published the site and the code produced by publisher showed H1 with the
attributes I selected.
Beyond that I have no other ideas on how to change it without using a code
based generator.

To try it for yourself
Select a blank page
Put a text box on the page and insert your text
Use the steps above to modify the text
Preview the site
Select >view >source
Look a the code to see that the H1 is there and with the selected attributes

Spike

DavidF said:
I did not say that Publisher "restricted the use of HTML code fragments
for H1 through H6 headline texts". I said there was no built-in support
for adding header tags in Publisher that I knew of, that I did not know
how to write the code or if it was possible to insert it with a code
fragment.

If you insert the code fragment you propose, then look at the source code
to see if it is written the way you want it. I can't tell you if the code
is written correctly. While I can hack together some things and make them
work, I am not a coder.

As per the font, it appears that you are specifying two different fonts:
comic sans ms and Arial. If you want Arial, then try specifying only
Arial:

<h1 style="font-size: 14 pt; font-family: Arial; font weight:
bold">Quarter Horses For Sale</h1>

But once again, I am not a coder so I can't say if this the proper coding
or not, but it seems to produce Arial font for me.

It also sounds like Spike found a way to get Publisher to do it, so
perhaps he can offer further instructions and assistance. Good luck.

DavidF


Kristi61 via OfficeKB.com said:
David,

OK, I didn't know that the MSOP 2003 program restricted the use of HTML
Code
Fragments for H1 through H6 headline texts. However, when I insert the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font
weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in Times New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline Text?

Kristi
You made yourself clear the first time. I understand what header tags are
for and I explained what options are built in to Publisher to add search
engine information...adding header tags is not one of them. I do not know
how to write the code to add them via a code fragment or if this is even
possible.

You may or may not be able to figure out how to add the tags via a code
fragment, but chances are if you want to use header tags you should
switch
to a full code editor program to produce your site, as this is probably
beyond the scope of Publisher.

Good luck.

DavidF

Hi,

[quoted text clipped - 43 lines]
Thanks
Kristi
 
D

DavidF

Spike,

Thanks. I think you found the answer for the OP and taught me
something...again <g>. I tried your solution and manage to attach the H1, H2
tags, etc. The coding reflects it.

DavidF

Spike said:
The method I used was to place a line of text on the page in a text box
all its own
With the cursor in that text box I selected >format >style
In the window to the left I selected H1
The arrow on the right of H1 allows you to edit the H1
I made it the font and size that you requested

Published the site and the code produced by publisher showed H1 with the
attributes I selected.
Beyond that I have no other ideas on how to change it without using a code
based generator.

To try it for yourself
Select a blank page
Put a text box on the page and insert your text
Use the steps above to modify the text
Preview the site
Select >view >source
Look a the code to see that the H1 is there and with the selected
attributes

Spike

DavidF said:
I did not say that Publisher "restricted the use of HTML code fragments
for H1 through H6 headline texts". I said there was no built-in support
for adding header tags in Publisher that I knew of, that I did not know
how to write the code or if it was possible to insert it with a code
fragment.

If you insert the code fragment you propose, then look at the source code
to see if it is written the way you want it. I can't tell you if the code
is written correctly. While I can hack together some things and make them
work, I am not a coder.

As per the font, it appears that you are specifying two different fonts:
comic sans ms and Arial. If you want Arial, then try specifying only
Arial:

<h1 style="font-size: 14 pt; font-family: Arial; font weight:
bold">Quarter Horses For Sale</h1>

But once again, I am not a coder so I can't say if this the proper coding
or not, but it seems to produce Arial font for me.

It also sounds like Spike found a way to get Publisher to do it, so
perhaps he can offer further instructions and assistance. Good luck.

DavidF


Kristi61 via OfficeKB.com said:
David,

OK, I didn't know that the MSOP 2003 program restricted the use of HTML
Code
Fragments for H1 through H6 headline texts. However, when I insert the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font
weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in Times
New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline Text?

Kristi

DavidF wrote:
You made yourself clear the first time. I understand what header tags
are
for and I explained what options are built in to Publisher to add search
engine information...adding header tags is not one of them. I do not
know
how to write the code to add them via a code fragment or if this is even
possible.

You may or may not be able to figure out how to add the tags via a code
fragment, but chances are if you want to use header tags you should
switch
to a full code editor program to produce your site, as this is probably
beyond the scope of Publisher.

Good luck.

DavidF

Hi,

[quoted text clipped - 43 lines]
Thanks
Kristi
 
S

Spike

You are welcome. We all gain knowledge with the experiments of each others
endeavors to answer questions. Your reply bolsters my thoughts on this
issue. It helps to see that we are on the same page on many of the issues.
So many replies go un answered to whether the suggestions worked or not.
When no answer is posted I "assume" the answer was correct. Oh well! I
took 2 weeks off of here to spend some time in Maureen's neck of the woods.
First time there and enjoyed my visit. Always nice to be home again.

Spike


DavidF said:
Spike,

Thanks. I think you found the answer for the OP and taught me
something...again <g>. I tried your solution and manage to attach the H1,
H2 tags, etc. The coding reflects it.

DavidF

Spike said:
The method I used was to place a line of text on the page in a text box
all its own
With the cursor in that text box I selected >format >style
In the window to the left I selected H1
The arrow on the right of H1 allows you to edit the H1
I made it the font and size that you requested

Published the site and the code produced by publisher showed H1 with the
attributes I selected.
Beyond that I have no other ideas on how to change it without using a
code based generator.

To try it for yourself
Select a blank page
Put a text box on the page and insert your text
Use the steps above to modify the text
Preview the site
Select >view >source
Look a the code to see that the H1 is there and with the selected
attributes

Spike

DavidF said:
I did not say that Publisher "restricted the use of HTML code fragments
for H1 through H6 headline texts". I said there was no built-in support
for adding header tags in Publisher that I knew of, that I did not know
how to write the code or if it was possible to insert it with a code
fragment.

If you insert the code fragment you propose, then look at the source
code to see if it is written the way you want it. I can't tell you if
the code is written correctly. While I can hack together some things and
make them work, I am not a coder.

As per the font, it appears that you are specifying two different fonts:
comic sans ms and Arial. If you want Arial, then try specifying only
Arial:

<h1 style="font-size: 14 pt; font-family: Arial; font weight:
bold">Quarter Horses For Sale</h1>

But once again, I am not a coder so I can't say if this the proper
coding or not, but it seems to produce Arial font for me.

It also sounds like Spike found a way to get Publisher to do it, so
perhaps he can offer further instructions and assistance. Good luck.

DavidF


David,

OK, I didn't know that the MSOP 2003 program restricted the use of
HTML Code
Fragments for H1 through H6 headline texts. However, when I insert the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font
weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in Times
New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline
Text?

Kristi

DavidF wrote:
You made yourself clear the first time. I understand what header tags
are
for and I explained what options are built in to Publisher to add
search
engine information...adding header tags is not one of them. I do not
know
how to write the code to add them via a code fragment or if this is
even
possible.

You may or may not be able to figure out how to add the tags via a code
fragment, but chances are if you want to use header tags you should
switch
to a full code editor program to produce your site, as this is probably
beyond the scope of Publisher.

Good luck.

DavidF

Hi,

[quoted text clipped - 43 lines]
Thanks
Kristi
 
K

Kristi61 via OfficeKB.com

Spike,

Got it - it works! One thing - my MSOP 2003 website didn't have a Headline 1
on the Styles and Formatting menu (had headlines 3,4,5,6??)...probably
something I messed up. Anyway, I had to create a blank webpage, insert a text
box w/cursor on text, select a Font Scheme on Styles and Formatting before it
would offer ANY Format Scheme much less Headline 1. That done... copy and
paste to mine...presto <H1>... and now I do have Headline 1 on the Format
Scheme for my website.

Many Thanks,
Kristi
You are welcome. We all gain knowledge with the experiments of each others
endeavors to answer questions. Your reply bolsters my thoughts on this
issue. It helps to see that we are on the same page on many of the issues.
So many replies go un answered to whether the suggestions worked or not.
When no answer is posted I "assume" the answer was correct. Oh well! I
took 2 weeks off of here to spend some time in Maureen's neck of the woods.
First time there and enjoyed my visit. Always nice to be home again.

Spike
[quoted text clipped - 98 lines]
 
S

Spike

Persistence pays off. You did good. Thanks fort the feedback.

Spike

Kristi61 via OfficeKB.com said:
Spike,

Got it - it works! One thing - my MSOP 2003 website didn't have a
Headline 1
on the Styles and Formatting menu (had headlines 3,4,5,6??)...probably
something I messed up. Anyway, I had to create a blank webpage, insert a
text
box w/cursor on text, select a Font Scheme on Styles and Formatting before
it
would offer ANY Format Scheme much less Headline 1. That done... copy and
paste to mine...presto <H1>... and now I do have Headline 1 on the Format
Scheme for my website.

Many Thanks,
Kristi
You are welcome. We all gain knowledge with the experiments of each
others
endeavors to answer questions. Your reply bolsters my thoughts on this
issue. It helps to see that we are on the same page on many of the
issues.
So many replies go un answered to whether the suggestions worked or not.
When no answer is posted I "assume" the answer was correct. Oh well! I
took 2 weeks off of here to spend some time in Maureen's neck of the
woods.
First time there and enjoyed my visit. Always nice to be home again.

Spike
[quoted text clipped - 98 lines]
Thanks
Kristi
 
M

MAURH

Are you talking my neck of the woods Spike? If so, glad you enjoyed the
visit. If I'd known you were coming I'd have baked a cake!! :)

Maureen




Spike said:
You are welcome. We all gain knowledge with the experiments of each
others endeavors to answer questions. Your reply bolsters my thoughts on
this issue. It helps to see that we are on the same page on many of the
issues. So many replies go un answered to whether the suggestions worked
or not. When no answer is posted I "assume" the answer was correct. Oh
well! I took 2 weeks off of here to spend some time in Maureen's neck of
the woods. First time there and enjoyed my visit. Always nice to be home
again.

Spike


DavidF said:
Spike,

Thanks. I think you found the answer for the OP and taught me
something...again <g>. I tried your solution and manage to attach the H1,
H2 tags, etc. The coding reflects it.

DavidF

Spike said:
The method I used was to place a line of text on the page in a text box
all its own
With the cursor in that text box I selected >format >style
In the window to the left I selected H1
The arrow on the right of H1 allows you to edit the H1
I made it the font and size that you requested

Published the site and the code produced by publisher showed H1 with the
attributes I selected.
Beyond that I have no other ideas on how to change it without using a
code based generator.

To try it for yourself
Select a blank page
Put a text box on the page and insert your text
Use the steps above to modify the text
Preview the site
Select >view >source
Look a the code to see that the H1 is there and with the selected
attributes

Spike

I did not say that Publisher "restricted the use of HTML code fragments
for H1 through H6 headline texts". I said there was no built-in support
for adding header tags in Publisher that I knew of, that I did not know
how to write the code or if it was possible to insert it with a code
fragment.

If you insert the code fragment you propose, then look at the source
code to see if it is written the way you want it. I can't tell you if
the code is written correctly. While I can hack together some things
and make them work, I am not a coder.

As per the font, it appears that you are specifying two different
fonts: comic sans ms and Arial. If you want Arial, then try specifying
only Arial:

<h1 style="font-size: 14 pt; font-family: Arial; font weight:
bold">Quarter Horses For Sale</h1>

But once again, I am not a coder so I can't say if this the proper
coding or not, but it seems to produce Arial font for me.

It also sounds like Spike found a way to get Publisher to do it, so
perhaps he can offer further instructions and assistance. Good luck.

DavidF


David,

OK, I didn't know that the MSOP 2003 program restricted the use of
HTML Code
Fragments for H1 through H6 headline texts. However, when I insert
the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font
weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in Times
New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline
Text?

Kristi

DavidF wrote:
You made yourself clear the first time. I understand what header tags
are
for and I explained what options are built in to Publisher to add
search
engine information...adding header tags is not one of them. I do not
know
how to write the code to add them via a code fragment or if this is
even
possible.

You may or may not be able to figure out how to add the tags via a
code
fragment, but chances are if you want to use header tags you should
switch
to a full code editor program to produce your site, as this is
probably
beyond the scope of Publisher.

Good luck.

DavidF

Hi,

[quoted text clipped - 43 lines]
Thanks
Kristi
 
S

Spike

We kept our arrival it at a low profile, visiting family in Beckenham and of
course did some tourist stuff. Next visit we will take you up on the cake
...... :)

Spike

MAURH said:
Are you talking my neck of the woods Spike? If so, glad you enjoyed the
visit. If I'd known you were coming I'd have baked a cake!! :)

Maureen




Spike said:
You are welcome. We all gain knowledge with the experiments of each
others endeavors to answer questions. Your reply bolsters my thoughts on
this issue. It helps to see that we are on the same page on many of the
issues. So many replies go un answered to whether the suggestions worked
or not. When no answer is posted I "assume" the answer was correct. Oh
well! I took 2 weeks off of here to spend some time in Maureen's neck
of the woods. First time there and enjoyed my visit. Always nice to be
home again.

Spike


DavidF said:
Spike,

Thanks. I think you found the answer for the OP and taught me
something...again <g>. I tried your solution and manage to attach the
H1, H2 tags, etc. The coding reflects it.

DavidF

The method I used was to place a line of text on the page in a text box
all its own
With the cursor in that text box I selected >format >style
In the window to the left I selected H1
The arrow on the right of H1 allows you to edit the H1
I made it the font and size that you requested

Published the site and the code produced by publisher showed H1 with
the attributes I selected.
Beyond that I have no other ideas on how to change it without using a
code based generator.

To try it for yourself
Select a blank page
Put a text box on the page and insert your text
Use the steps above to modify the text
Preview the site
Select >view >source
Look a the code to see that the H1 is there and with the selected
attributes

Spike

I did not say that Publisher "restricted the use of HTML code
fragments for H1 through H6 headline texts". I said there was no
built-in support for adding header tags in Publisher that I knew of,
that I did not know how to write the code or if it was possible to
insert it with a code fragment.

If you insert the code fragment you propose, then look at the source
code to see if it is written the way you want it. I can't tell you if
the code is written correctly. While I can hack together some things
and make them work, I am not a coder.

As per the font, it appears that you are specifying two different
fonts: comic sans ms and Arial. If you want Arial, then try specifying
only Arial:

<h1 style="font-size: 14 pt; font-family: Arial; font weight:
bold">Quarter Horses For Sale</h1>

But once again, I am not a coder so I can't say if this the proper
coding or not, but it seems to produce Arial font for me.

It also sounds like Spike found a way to get Publisher to do it, so
perhaps he can offer further instructions and assistance. Good luck.

DavidF


David,

OK, I didn't know that the MSOP 2003 program restricted the use of
HTML Code
Fragments for H1 through H6 headline texts. However, when I insert
the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font
weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in Times
New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline
Text?

Kristi

DavidF wrote:
You made yourself clear the first time. I understand what header tags
are
for and I explained what options are built in to Publisher to add
search
engine information...adding header tags is not one of them. I do not
know
how to write the code to add them via a code fragment or if this is
even
possible.

You may or may not be able to figure out how to add the tags via a
code
fragment, but chances are if you want to use header tags you should
switch
to a full code editor program to produce your site, as this is
probably
beyond the scope of Publisher.

Good luck.

DavidF

Hi,

[quoted text clipped - 43 lines]
Thanks
Kristi
 
K

Kristi61 via OfficeKB.com

Spike,

If I apply Headline (H1-6) text to a single nav bar button that has been
ungrouped (for the purpose of solving browser compatibility issues) will it
cause any other problems?

Thanks
Kristi
Persistence pays off. You did good. Thanks fort the feedback.

Spike
[quoted text clipped - 30 lines]
 
M

MAURH

Ah, Kent, very pretty county I understand, though never visited myself.
Locally known as 'The Garden of England' I think. I'll keep the cake on hold
:)

Maureen



Spike said:
We kept our arrival it at a low profile, visiting family in Beckenham and
of course did some tourist stuff. Next visit we will take you up on the
cake ..... :)

Spike

MAURH said:
Are you talking my neck of the woods Spike? If so, glad you enjoyed the
visit. If I'd known you were coming I'd have baked a cake!! :)

Maureen




Spike said:
You are welcome. We all gain knowledge with the experiments of each
others endeavors to answer questions. Your reply bolsters my thoughts
on this issue. It helps to see that we are on the same page on many of
the issues. So many replies go un answered to whether the suggestions
worked or not. When no answer is posted I "assume" the answer was
correct. Oh well! I took 2 weeks off of here to spend some time in
Maureen's neck of the woods. First time there and enjoyed my visit.
Always nice to be home again.

Spike


Spike,

Thanks. I think you found the answer for the OP and taught me
something...again <g>. I tried your solution and manage to attach the
H1, H2 tags, etc. The coding reflects it.

DavidF

The method I used was to place a line of text on the page in a text
box all its own
With the cursor in that text box I selected >format >style
In the window to the left I selected H1
The arrow on the right of H1 allows you to edit the H1
I made it the font and size that you requested

Published the site and the code produced by publisher showed H1 with
the attributes I selected.
Beyond that I have no other ideas on how to change it without using a
code based generator.

To try it for yourself
Select a blank page
Put a text box on the page and insert your text
Use the steps above to modify the text
Preview the site
Select >view >source
Look a the code to see that the H1 is there and with the selected
attributes

Spike

I did not say that Publisher "restricted the use of HTML code
fragments for H1 through H6 headline texts". I said there was no
built-in support for adding header tags in Publisher that I knew of,
that I did not know how to write the code or if it was possible to
insert it with a code fragment.

If you insert the code fragment you propose, then look at the source
code to see if it is written the way you want it. I can't tell you if
the code is written correctly. While I can hack together some things
and make them work, I am not a coder.

As per the font, it appears that you are specifying two different
fonts: comic sans ms and Arial. If you want Arial, then try
specifying only Arial:

<h1 style="font-size: 14 pt; font-family: Arial; font weight:
bold">Quarter Horses For Sale</h1>

But once again, I am not a coder so I can't say if this the proper
coding or not, but it seems to produce Arial font for me.

It also sounds like Spike found a way to get Publisher to do it, so
perhaps he can offer further instructions and assistance. Good luck.

DavidF


David,

OK, I didn't know that the MSOP 2003 program restricted the use of
HTML Code
Fragments for H1 through H6 headline texts. However, when I insert
the
following HTML Code Fragment :

<h1 style="font-size: 14 pt; font-family: comic sans ms, arial; font
weight:
bold">Quarter Horses For Sale</h1>

on Web Page Preview, it displays, Quarter Horses For Sale ,in
Times New
Roman instead.

Are you saying that the product of my effort is not an H1 Headline
Text?

Kristi

DavidF wrote:
You made yourself clear the first time. I understand what header
tags are
for and I explained what options are built in to Publisher to add
search
engine information...adding header tags is not one of them. I do not
know
how to write the code to add them via a code fragment or if this is
even
possible.

You may or may not be able to figure out how to add the tags via a
code
fragment, but chances are if you want to use header tags you should
switch
to a full code editor program to produce your site, as this is
probably
beyond the scope of Publisher.

Good luck.

DavidF

Hi,

[quoted text clipped - 43 lines]
Thanks
Kristi
 

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