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

S

steveboswell

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

Don Schmidt

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.
 
D

Don Schmidt

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


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
 
A

analog

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.
 
D

Don Schmidt

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


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.
 
M

Max Patmoy

How much does Google hate MS Publisher. It seems Google just wont rate my
site into a fare position. Are there tricks to make friends with Google?

Max
 
J

JoAnn Paules

Your site will do better as it gets more hits. If it's a personal site, kind
of an "All About Max Patmoy", you aren't going to rate as well as
Amazon.com. Sorry, but that's life.
 

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