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).
I apologies for not being clear.
I have Pub 2007 installed on a Vista machine
I have Pub 2002 installed on an XP machine
If I export a web page using Pub 2002 I CAN center it using html code
<center> (I add the <center> using notepad)
If I export a web page using Pub 2007 I CANNOT center it using html code
<center> (I add the <center> using notepad)
I installed Pub 2002 on the Vista machine and the exported HTML code was
entirely different than the code the XP machine exported and I COULD NOT
center the page
I updated the Pub 2002 on the Vista machine with the SP 3 update and now the
exported HTML code on the Vista machine is the same as the code using the XP
machine.
The only reason I go through all this is to be able to take advantage of the
latest changes in Pub 2007 and still be able to center a page if the the
need comes up. I build the Publisher file using the Pub 2007 program. I
save the file then open it with the Publisher 2002 program. I then export
the build as a web page. It is a pain but it is the best way I have found
so far. Maybe one day MS will incorporate the center function.
I hope that this clears up my earlier comments.
Thanks for your input also
If enough people comment on these issues, we may find a better way to build
this mouse trap.
Spike