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.

web page off centre in publisher 2007

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gollum456 - 23 Apr 2008 21:56 GMT
i cant get my web page to sit in the centre of the screen. anyone know how to
correct this? also the background colour covers the whole sreen not just the
page.
my website looks like this:

www.porttalbotmfc.com

but i want it to look something like this:

http://office.microsoft.com/en-us/FX100647101033.aspx?pid=CL100569831033

thanks in advance
DavidF - 24 Apr 2008 00:50 GMT
Publisher produces fixed width pages, that are left justified by design.
Also the background color is supposed to fill all the background padding.

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

If you want to center your pages, there is no built-in capability of
centering your pages, but you can manually edit the html code of each *.htm
file (each web page). However you have to do this each time you update your
site. This code edit is not saved in the Publisher file and must be redone
each time you republish. This may make it impractical unless you are
comfortable editing the code each time.

The workaround:

When you Publish to the Web direct the output to a folder on your hard drive
where you can find it.

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 of the page, type or paste the following:

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

Close NotePad and save the changes to index.htm.

You will need to repeat this with each *.htm file in the index_files folder,
and then you can then upload your files. Remember, you have to do this each
time you modify your Pub file and produce new .htm files.

There is also a way to semi-automate this process, but I won't go into that
at this point.

If you find all this too tedious, then work with the left justification.
Read the article provided. Continue to use a background color or image to
fill the padding. Perhaps use a 984 pixel width page which is the widest
suggested in Pub 2007, so that the amount of padding will be minimal. I
would caution about making your page any wider than this. If designed
correctly a left justified page can look great and in general will be a
whole lot easier to manage using Publisher.

DavidF

>i cant get my web page to sit in the centre of the screen. anyone know how
>to
[quoted text clipped - 10 lines]
>
> thanks in advance

Rate this thread:






 
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.