Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / April 2008

Tip: Looking for answers? Try searching our database.

How to edit the page alignment in publisher?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
site admin - 01 Apr 2008 21:29 GMT
I am building a site using publisher 07. It seems that is makes the website
on the left hand side. I am trying to get it to make the site in the center
of the page, any suggestions?
Don Schmidt - 01 Apr 2008 22:00 GMT
Publisher 2000 and 2002 can be centered easily; later versions can be done
but it is more difficult. Continue to visit this ng and someone will
probably share the method for 07.

Signature

Don
Vancouver, USA

>I am building a site using publisher 07. It seems that is makes the website
> on the left hand side. I am trying to get it to make the site in the
> center
> of the page, any suggestions?
DavidF - 02 Apr 2008 01:31 GMT
Publisher web pages are left justified by default, and there is no built in
way of centering the pages.

Reference: Understanding background padding in a Publisher web (aka white
space):
http://msmvps.com/blogs/dbartosik/archive/2006/01/07/80563.aspx

With that said, if you want to center your pages, you can manually edit the
html code of each *.htm file or each web page each time you update them. The
specific method of doing that depends on the version of Publisher you are
using. This will not "stick" in the Publisher file, and thus must be done
each time you make a change in the Pub file and republish. This may make it
impractical unless you are comfortable editing the code each time.

The basic method for Pub 2003 and 2007 came from Jo and Spike, and here is a
version of their instructions. When you are ready to publish your site,
Publish to the Web and direct your output to your computer where you can
easily find the index.htm file and the index_files folder. Open the
index.htm file in NotePad and right after </head> and underneath the <body>
tag string, type or copy and paste the following code after changing the
width to the width of your page:

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

------------------------------------

ABOVE the </body> tag at the end, type or paste the following:

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

You will need to repeat this with each *.htm file in the index_files folder,
and you can then upload those files.

--------------

You can also use Replace in Files at
http://www.emurasoft.com/replall/index.htm to "automate" the process. Use it
to add the centering code to the <body> tag string as per your pages.
Alternatively Spike has suggested that the following will work with Pub
2007:

Find   =   </v:background></xml><![endif]-->

Replace With    =  </v:background></xml><![endif]--><table border="0"
cellpadding="0" cellspacing="2" width="800" align="center"><tr><td>

Find       </body>

Replace With     </td></tr></table></body>

---------------------------------

DavidF

>I am building a site using publisher 07. It seems that is makes the website
> on the left hand side. I am trying to get it to make the site in the
> center
> of the page, any suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.