In Publisher how do make my web page centered on the screen

M

me

I can't believe that there is no way to center a web page the way you can in
Front Page. There has to be some type of work around for 2003 Publisher
users. Anyone out there with any suggestions (besides the obvious "make it
larger" comments)
 
D

DavidF

There is no built-in mechanism in Publisher. Your only choice is to edit the
code directly, and of course that would need to be done to each page, and
each time you changed the site, which for most people is unrealistic.
Perhaps you should go back to FrontPage.

DavidF
 
D

Don Schmidt

David,

There is an easy method of fixing Publisher 2000 website pages to center the
pages. Will Publisher 2003 websites accept the addition of <center> into
the html code work to center the page? If so, the free ReplaceInFiles
program makes this an easy operation to center the pages.
 
D

DavidF

I haven't found the ReplaceInFiles program to work in Pub 2003, but that is
not to say that someone else couldn't get it to work. The only way I have
been able to get Pub 2003 pages centered is:

Do this:

1. Publish your website so that you have an HTML copy on your hard drive.

2. Open "index.htm" in a HTML editor, or at the worst, Notepad

3. Scroll down until you see the <body> tag

4. Underneath the <body> tag, enter this code:

<table border="0" cellpadding="0" cellspacing="2" width="768"
align="center">
<tr>
<td>

5. Scroll all the way to the bottom until you see the </body> tag.

6. ABOVE the </body> tag, enter the following:

</td>
</tr>
</table>

Your content should now be centered. Repeat with each page.

The method you are talking about seems not to work with Pub 2003, but does
with Pub 2000. A quote from tomZ:

"Available at http://www.emurasoft.com/replall/index.htm

I've used it successfully with the following data:
Find: </head>
Replace with: </head> <center>
File Types: *.html

All the same caveats and problems of post-Publisher centering still
apply."

DavidF
 
D

Don Schmidt

Thanks David,

That is a chore. I suspect Microsoft deliberately left the code out to
entice users to move up to Front Page.

I use ReplaceInFiles successfully with Publisher 2000 websites.
 

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