This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft Publisher > September 2004 > Can I insert HTML code BEFORE the </head> tag?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can I insert HTML code BEFORE the </head> tag?
steveboswell

2004-09-19, 12:15 pm

Is there any way of inserting a HTML code fragment so that it appears within
the <head> </head> serction of the published website?
Don Schmidt

2004-09-19, 12:15 pm

Using Notepad you can edit the code of the html files. But whenever you
update the web site you will need to manually go back to each html file and
do the change again.

For awhile I was editing the files in order to center the pages, after a
dozen or so updates it got to be a pain and left it alone.


--
Don
Vancouver, USA


"steveboswell" <steveboswell@discussions.microsoft.com> wrote in message
news:336E0EAA-A56C-489E-8F03-DA698DBD500E@microsoft.com...
> Is there any way of inserting a HTML code fragment so that it appears

within
> the <head> </head> serction of the published website?



analog@logwell.com

2004-09-19, 7:15 pm

Could you post the code fragment you used to do that, and where you put it
exactly?

I do exactly what you advocate on a few pages to get special effects, like this
page on O-rings (gives the circle lap-dissolve in IE):
http://www.logwell.com/tech/O-ring/index.html

On Sun, 19 Sep 2004 06:45:33 -0700, "Don Schmidt" <Retired@Engineer.PNB> wrote:

>Using Notepad you can edit the code of the html files. But whenever you
>update the web site you will need to manually go back to each html file and
>do the change again.
>
>For awhile I was editing the files in order to center the pages, after a
>dozen or so updates it got to be a pain and left it alone.


Don Schmidt

2004-09-19, 7:15 pm

I'm guessing you are referring to centering the pages. Here's how in
Publisher 2000 created html files.

I use Notepad+ (http://www.mypeecee.org/rogsoft/) to edit each html file on
the web site. You will need to add the two statements to all of your html
files on your web site every time you update your site.

Note the <center> goes in under the first <head> statement and </center>
goes in just before the last <body> statement.

=============== At the start of the file ========
<!doctype html public "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<center> <================= Put this line into your file
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Publisher 2000">
<title>The Wine Cellar®</title>
</head>

Lots of stuff left out

</tr>
</table>

<a name=bottom></a>
</center> <================== Put this line into your file
</body>
</html>
=============== End of the file ==============



--
Don
Vancouver, USA


<analog@logwell.com> wrote in message
news:hjgrk0lsv1ljtu7302bp9e7g09l26fju67@4ax.com...
> Could you post the code fragment you used to do that, and where you put it
> exactly?
>
> I do exactly what you advocate on a few pages to get special effects, like

this
> page on O-rings (gives the circle lap-dissolve in IE):
> http://www.logwell.com/tech/O-ring/index.html
>
> On Sun, 19 Sep 2004 06:45:33 -0700, "Don Schmidt" <Retired@Engineer.PNB>

wrote:
>
and[color=darkred]
>



analog@logwell.com

2004-09-20, 7:16 pm

Well, that is simple enuff! Perhaps Publisher should have that as a "check box"
option since it makes some narrower pages look better on a higher res screen.
It would be simple for the whiz kids at M$ to implement.

On Sun, 19 Sep 2004 11:50:04 -0700, "Don Schmidt" <Retired@Engineer.PNB> wrote:

>I'm guessing you are referring to centering the pages. Here's how in
>Publisher 2000 created html files.
>
>I use Notepad+ (http://www.mypeecee.org/rogsoft/) to edit each html file on
>the web site. You will need to add the two statements to all of your html
>files on your web site every time you update your site.
>
>Note the <center> goes in under the first <head> statement and </center>
>goes in just before the last <body> statement.
>
>=============== At the start of the file ========
><!doctype html public "-//IETF//DTD HTML 2.0//EN">
><html>
><head>
><center> <================= Put this line into your file
><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
><meta name="Generator" content="Microsoft Publisher 2000">
><title>The Wine Cellar®</title>
></head>
>
> Lots of stuff left out
>
></tr>
></table>
>
><a name=bottom></a>
></center> <================== Put this line into your file
></body>
></html>
>=============== End of the file ==============


Don Schmidt

2004-09-20, 7:16 pm

Some of the MVPs here have asked, begged, pleaded, promised to donate their
prize Yak to the programmer's benevolent society but the "whiz kids" at M$
said "NINE!"


--
Don
Vancouver, USA


<analog@logwell.com> wrote in message
news:up0uk09maidu1vuduap150c8cvq2p5frhf@4ax.com...
> Well, that is simple enuff! Perhaps Publisher should have that as a

"check box"
> option since it makes some narrower pages look better on a higher res

screen.
> It would be simple for the whiz kids at M$ to implement.
>
> On Sun, 19 Sep 2004 11:50:04 -0700, "Don Schmidt" <Retired@Engineer.PNB>

wrote:
>
on[color=darkred]
html[color=darkred]
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews