Re: web page aligment with publisher.



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).


"Spike" <woodchipsnospam@xxxxxxxxxxx> wrote in message
news:%236T6Dw4qHHA.4624@xxxxxxxxxxxxxxxxxxxxxxx
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


"Don Schmidt" <Don Engineer@xxxxxxxxxxxxxxxx> wrote in message
news:136mqh77o9h710e@xxxxxxxxxxxxxxxxxxxxx
Are you sure you are not using two different versions of Publisher? This
is
the first mention of this work-around.


--
Don
Vancouver, USA


"Spike" <woodchipsnospam@xxxxxxxxxxx> wrote in message
news:u3kQaSvqHHA.4768@xxxxxxxxxxxxxxxxxxxxxxx
Just discovered a new twist

Pub 2002 when installed on an XP machine will center using the html code
<center> after exporting as a web page using notepad
Pub 2002 when installed on a Vista machine will not center correctly
using
the html code <center>
When comparing the code on both machines they are totally different
Vista writes the code different than XP does when exported as a web page

Spike

"Huey" <Huey@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7D6088B5-E553-420D-818B-744889ADD9A7@xxxxxxxxxxxxxxxx
I have created a web page with Pub 02, however when I put it on the web
test
it all appers left aligned with half the screen not used. Is there
anyway
to
center the page and have the page in the center of the screen and color
the
border? I am using the page setups provided by Publisher. I used custom
but
it was not right for others computers.

Huey





.