Re: Centering Web Pages in Publisher 2007

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



David, I entered the code as you wrote it (had to use word pad since the
changes would not 'save' in Word). Unfortuantely, the page is centered but
all the images are the page are in disarray. The only thing I can think of
that deviates from your directions is the first instance of the <body> tag.
I find only two instances of that tag: one at the end of the file, and the
initial reference which reads <body lang=EN-US link=blue vlink=purple
style='tab-interval:.5in'>

Is this the correct tag or am I missing something?
Thanks,
John G

"John G" wrote:

Thank you, David. I'll give it a try. IMHO this is something that MS needs
to fix immediately.
John G

"DavidF" wrote:

Hi John G,

Sorry to say that they still have not incorporated this feature in Pub
2007...wish they had.

You can center the pages, but it requires manually changing the coding with
Pub 2003 and 2007. This means that if your pages are static...that you don't
update them very often, you might find it worth the effort. In fact if you
have just a few pages that are being updated periodically, you might
separate them out and produce them with other Publisher files, and build
your site with multiple files and subfolders. Then if you want to center any
particular page...

Do this:

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

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

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

4. Underneath the <body> tag, enter (copy and paste will work) this code:

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

(you may need to play with the width dimension)

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 on that page should now be centered. Repeat with other pages
that you want centered.

DavidF

"John G" <John G@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:307C7833-6671-4568-87AB-D837A2303107@xxxxxxxxxxxxxxxx
Has MS finally resolved the issue of left aligned web pages now that
Publisher 2007 is available for download? If not, is there a way of
modifying a new site I've built in Publisher 2007 (without starting all
over
again)?

I've read the blog about the workaround used for Publisher 2003, but am
really shocked that there isn't a checkbox in Publisher 2007 that will
center
Web Pages. This was never an issue in Front Page, and 'centering' is a
simple check box on most other publishing programs, particularly those
that
can be used to create and publish web sites.

Thanks,
John G




.



Relevant Pages

  • Re: Centering Web Pages in Publisher 2007
    ... Those html files are not ... The best solution would be if MS added the feature as an option in Publisher ... tag, and the second snippet right above the last tag. ... This was never an issue in Front Page, and 'centering' ...
    (microsoft.public.publisher.webdesign)
  • Re: Centering Webpage with different Resolutions
    ... You can also read a less concise description of the process of centering Pub ... You haven't specified which version of Publisher you're using, ... resolution by inserting a tag in the notepad file under the ... Which is fine on my comp at a high resolution. ...
    (microsoft.public.publisher.webdesign)
  • Re: Centering Web Pages in Publisher 2007
    ... Those html files are not ... The best solution would be if MS added the feature as an option in Publisher ... tag, and the second snippet right above the last tag. ... This was never an issue in Front Page, and 'centering' ...
    (microsoft.public.publisher.webdesign)
  • Re: Centering Web Pages in Publisher 2007
    ... someone that understands coding will experiment with Publisher 2003 html ... Those html files are ... and thereby the centering code would be present every time the ... tag, and the second snippet right above the last tag. ...
    (microsoft.public.publisher.webdesign)
  • Re: Centering Web Pages in Publisher 2007
    ... someone that understands coding will experiment with Publisher 2003 html ... Those html files are ... and thereby the centering code would be present every time the ... tag, and the second snippet right above the last tag. ...
    (microsoft.public.publisher.webdesign)