How to centralise webpage in browser window, in publisher

B

bigmart53

I am using publisher 2007, and I don't seem to be able to position my webpage
centrally in the browser window, any help would be truly appreciated.
 
D

Don Schmidt

Publisher by design left justifies webpages but by manual editing you can
center the pages.


--
Don - Publisher 2000®
Vancouver, USA

=====================================================
A Donald Canned Response -

Thanks to "Spike" who gave to us this:

The fix to center pages using publisher 2003 and 2007
Publish to your hard drive
Edit the htm file(s) and replace </head> with

</head><table border="0" cellpadding="0" cellspacing="2"
width="760"align="center"><tr><td>
(All on one line)

If you are using a page width different than 760 pixels change that number
in the above line

If you have multiple pages you might want to look at ReplaceInFiles program,
available at,
<http://www.emurasoft.com/replall/> a simple replace lines in multiple htm &
html files.

Then ftp the files to your ISP

=====================================================
 
M

MAURH

Hi Bigmart53,

Just to expand on one of the methods that Don has suggested.
This is the method that I use for centring my pages with ‘Replace in Files’
in 2003, although I understand it works for 2007 also.



Download free from http://www.emurasoft.com/replall/index.htm then set
coding as follows:



Find: </head>



Replace with: </head><table border="0" cellpadding="0" cellspacing="2"
width="760"align="center"><tr><td>



File Types: *.htm



In Folder: Use the ... button to browse to the folder where you directed
your web files on your computer when you Publish to Web.



You can copy and paste the codes from here.

Once you have set this coding, the programme remembers it so you only do
this part once.



So, when you’ve saved your changes to your pub. doc. and ‘publish to the web’,
close this file and open your folder containing your index_files and
index.htm. (I keep these in a folder on my desktop marked ‘HTM & HTML’)

Open ‘Replace in Files’ from your programmes and a box will appear. Click
‘Replace in Subfolders’ and ‘Replace All’ and you should get a "Finished"
dialog that will confirm the replaced strings of code for each *.htm
file/page in your web files.

You will need to repeat this last part each time you update your pub. doc.
and before you re-publish, but it only takes a minute.



Close ‘Replace in Files’ and publish your website via your usual method,
when you look at your site on the web, it will be in the centre of the
screen.

Just note that this will not show in a page preview, only after you’ve
published.



Maureen
 
M

Michelle

Thanks for this information, very helpful. I went to the link you provided
Maureen but it says the page no longer exists. Do you perhaps have another
one? Many thanks.
 
M

MAURH

Hi Michelle,

I have just clicked on this link in this message several times and it has
worked each time, so I don't know why it shouldn't work for you. But I've
copied and pasted the URL from the website, so try this....
http://www.emurasoft.com/replall/

If that doesn't work for you just put Emurasoft into Google and you will see
the 'Replace in File' link, click on that and it will take you to the page
on the website.

Good luck.

Maureen
 

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