Re: Centering Web Pages in Publisher 2007
- From: John G <JohnG@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Jan 2007 12:04:01 -0800
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
- Follow-Ups:
- Re: Centering Web Pages in Publisher 2007
- From: DavidF
- Re: Centering Web Pages in Publisher 2007
- From: DavidF
- Re: Centering Web Pages in Publisher 2007
- References:
- Re: Centering Web Pages in Publisher 2007
- From: DavidF
- Re: Centering Web Pages in Publisher 2007
- From: John G
- Re: Centering Web Pages in Publisher 2007
- Prev by Date: Re: Centering Web Pages in Publisher 2007
- Next by Date: Re: Centering Web Pages in Publisher 2007
- Previous by thread: Re: Centering Web Pages in Publisher 2007
- Next by thread: Re: Centering Web Pages in Publisher 2007
- Index(es):
Relevant Pages
|