Centering the web page in Microsoft Publisher 2007

E

EvanTribley

Does anyone know how to center the web page in the browser? It always
comes up left justified when I publish. Ideally I would like to have
the web page center with a colored background (www.barackobama.com for
example). If anyone has any ideas let me know. Also, if this is just
too much for Publisher to handle let me know and I will breakdown and
buy a better website design program.

Thanks!!
 
D

DavidF

If you are using Publisher 2002 or older, then Don's answer to this FAQ will
work:

"I use Publisher 2000 and it also creates websites left justified. I also
add the <center> code to my html files but I do it the easy way; I use a
little free program, ReplaceInFiles.

This works only for websites created with Publisher 2000 (fairly certain)

Each of your html files requires adding the <center> code after the existing
<head> code.

You can go into each html file and do it manually or get the free
Replaceinfiles program
and make it an easy chore.


"ReplaceInFiles" can be downloaded from:

<http://www.emurasoft.com/index.htm>

The four boxes require the following information:

Find: <head>
Replace with: <head> <center>
File Types: *.html
In Folder:
(use the button to go to the folder where the html files are located on your
drive)

The bottom four boxes can be left blank.

Note: Once the boxes are filled out, the entries are retained for the next
time you use the program.

Don
------
Vancouver, USA

P.S. One of the kind visitors of this news group told us of Replaceinfiles
program some time ago; 'Sorry I forgot the individual's name. (Another
unsung hero)."

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

DavidF
 
D

Don Schmidt

Publisher 2002 also? Good to know. I'll update my prepared statement.
Thanks David.
 
D

DavidF

That is what I understood from what Spike said in the thread where I copied
your post...could be wrong...wouldn't be the first time ;-) In fact, I was
surprised as I thought the html coding engine in 2002 was much the same in
2003 <shrug>.

DavidF
 

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