Software to assist centre pages?

J

Jo

I have used html to centre my publisher 2007 built website. Somewhere in my
internet searching travels I heard about a software that you could buy...that
helps with this. It basically finds and replaces coding in each page (so you
don't have to edit each page individually). I can't remember what its
called.... Anyone heard of it? Or something similar?
 
D

DavidF

Ok Jo, now is the time to help us out. How the heck did you manage to center
or centre your Pub 2007 web pages? We figured it out through version 2002,
but no one could get 2003 or 2007 to center. Please be our hero and share
how you edited the code to center...excuse me...centre the page.

As per the software, Don has recommended "Replace in Files":
http://www.emurasoft.com/replall/index.htm

DavidF
 
S

Spike

I put a WATCH on this thread

Spike

DavidF said:
Ok Jo, now is the time to help us out. How the heck did you manage to
center or centre your Pub 2007 web pages? We figured it out through
version 2002, but no one could get 2003 or 2007 to center. Please be our
hero and share how you edited the code to center...excuse me...centre the
page.

As per the software, Don has recommended "Replace in Files":
http://www.emurasoft.com/replall/index.htm

DavidF
 
J

Jo

UNDERNEATH the <body> tag, enter (copy and paste will work) this code:(you
may need to change the width)

<table border="0" cellpadding="0" cellspacing="2" width="1000"
align="center">
<tr>
<td>

------------------------------------

ABOVE the </body> tag, enter the following:

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


Jo
 
J

Jo

Sorry!!!!!!!!!!!!!!! it just occured to me that when i used that code it may
have been on hubby's computer and he runs publisher 03. It may work on
07.... I'll check...
 
S

Spike

Using "replace in files" I found a common point of replacement that appears
to work for me for Publisher 2007.

Sine the background changes from one publication to another I found the
closest commonality after <body>.
That turned out to be </v:background></xml><![endif]-->

Since "replace in files" needs to have the entire text on one line I made
the replacement string as shown below.
I also changed the 1000 to 800 to accommodate the 1024 X 768 settings. I
tested it with the settings:
800 X 600
1024 X 768
1440 X 900

Not perfectly centered but real close

Takes two runs of "replace in files"
Once the strings are typed in it just takes selecting the ones you want with
the drop down arrow for Find and Replace With


Find = </v:background></xml><![endif]-->


Replace With = </v:background></xml><![endif]--><table border="0"
cellpadding="0" cellspacing="2" width="800" align="center"><tr><td>



Find </body>

Replace With </td></tr></table></body>

Spike
 
D

DavidF

Thanks Jo and Spike,

I haven't had time to play with this code yet, but Spike I suspect that you
will get the best results if you use the actual width of the pages. The
pixel width can be seen in File > Page setup.

DavidF

Spike said:
Using "replace in files" I found a common point of replacement that
appears to work for me for Publisher 2007.

Sine the background changes from one publication to another I found the
closest commonality after <body>.
That turned out to be </v:background></xml><![endif]-->

Since "replace in files" needs to have the entire text on one line I made
the replacement string as shown below.
I also changed the 1000 to 800 to accommodate the 1024 X 768 settings. I
tested it with the settings:
800 X 600
1024 X 768
1440 X 900

Not perfectly centered but real close

Takes two runs of "replace in files"
Once the strings are typed in it just takes selecting the ones you want
with the drop down arrow for Find and Replace With


Find = </v:background></xml><![endif]-->


Replace With = </v:background></xml><![endif]--><table border="0"
cellpadding="0" cellspacing="2" width="800" align="center"><tr><td>



Find </body>

Replace With </td></tr></table></body>

Spike




Jo said:
Sorry!!!!!!!!!!!!!!! it just occured to me that when i used that code it
may
have been on hubby's computer and he runs publisher 03. It may work on
07.... I'll check...
 
S

Spike

David

Thanks

Totally slipped my mind. Set it to 760 (page width) from the 800 I used
before. Looks good on my Vista wide screen 1440 X 900 display.
I will check it out on other computers / monitors with different
resolutions.

And THANK YOU Jo.

Spike

DavidF said:
Thanks Jo and Spike,

I haven't had time to play with this code yet, but Spike I suspect that
you will get the best results if you use the actual width of the pages.
The pixel width can be seen in File > Page setup.

DavidF

Spike said:
Using "replace in files" I found a common point of replacement that
appears to work for me for Publisher 2007.

Sine the background changes from one publication to another I found the
closest commonality after <body>.
That turned out to be </v:background></xml><![endif]-->

Since "replace in files" needs to have the entire text on one line I made
the replacement string as shown below.
I also changed the 1000 to 800 to accommodate the 1024 X 768 settings. I
tested it with the settings:
800 X 600
1024 X 768
1440 X 900

Not perfectly centered but real close

Takes two runs of "replace in files"
Once the strings are typed in it just takes selecting the ones you want
with the drop down arrow for Find and Replace With


Find = </v:background></xml><![endif]-->


Replace With = </v:background></xml><![endif]--><table border="0"
cellpadding="0" cellspacing="2" width="800" align="center"><tr><td>



Find </body>

Replace With </td></tr></table></body>

Spike




Jo said:
Sorry!!!!!!!!!!!!!!! it just occured to me that when i used that code it
may
have been on hubby's computer and he runs publisher 03. It may work on
07.... I'll check...

:

I put a WATCH on this thread

Spike

Ok Jo, now is the time to help us out. How the heck did you manage to
center or centre your Pub 2007 web pages? We figured it out through
version 2002, but no one could get 2003 or 2007 to center. Please be
our
hero and share how you edited the code to center...excuse me...centre
the
page.

As per the software, Don has recommended "Replace in Files":
http://www.emurasoft.com/replall/index.htm

DavidF

I have used html to centre my publisher 2007 built website.
Somewhere in
my
internet searching travels I heard about a software that you could
buy...that
helps with this. It basically finds and replaces coding in each
page (so
you
don't have to edit each page individually). I can't remember what
its
called.... Anyone heard of it? Or something similar?
 
S

Spike

Take a look at this thread

Subject: Software to assist centre pages?
Date: Mon, 14 Jan 2008 18:36:00 -0800

Spike
 
C

cpappas

Okay...how do you get to where you can input these codes? It was easy to
find in Front page 2000.

Spike said:
Using "replace in files" I found a common point of replacement that appears
to work for me for Publisher 2007.

Sine the background changes from one publication to another I found the
closest commonality after <body>.
That turned out to be </v:background></xml><![endif]-->

Since "replace in files" needs to have the entire text on one line I made
the replacement string as shown below.
I also changed the 1000 to 800 to accommodate the 1024 X 768 settings. I
tested it with the settings:
800 X 600
1024 X 768
1440 X 900

Not perfectly centered but real close

Takes two runs of "replace in files"
Once the strings are typed in it just takes selecting the ones you want with
the drop down arrow for Find and Replace With


Find = </v:background></xml><![endif]-->


Replace With = </v:background></xml><![endif]--><table border="0"
cellpadding="0" cellspacing="2" width="800" align="center"><tr><td>



Find </body>

Replace With </td></tr></table></body>

Spike




Jo said:
Sorry!!!!!!!!!!!!!!! it just occured to me that when i used that code it
may
have been on hubby's computer and he runs publisher 03. It may work on
07.... I'll check...
 
D

DavidF

When you publish your html output, direct it to a folder on your computer.
Then you can open the .htm files with NotePad and add the code. You have to
do this each time you change your Pub file and produce new code.

If you still have FP, you would probably be better off going back to it.

DavidF

cpappas said:
Okay...how do you get to where you can input these codes? It was easy to
find in Front page 2000.

Spike said:
Using "replace in files" I found a common point of replacement that
appears
to work for me for Publisher 2007.

Sine the background changes from one publication to another I found the
closest commonality after <body>.
That turned out to be </v:background></xml><![endif]-->

Since "replace in files" needs to have the entire text on one line I made
the replacement string as shown below.
I also changed the 1000 to 800 to accommodate the 1024 X 768 settings. I
tested it with the settings:
800 X 600
1024 X 768
1440 X 900

Not perfectly centered but real close

Takes two runs of "replace in files"
Once the strings are typed in it just takes selecting the ones you want
with
the drop down arrow for Find and Replace With


Find = </v:background></xml><![endif]-->


Replace With = </v:background></xml><![endif]--><table border="0"
cellpadding="0" cellspacing="2" width="800" align="center"><tr><td>



Find </body>

Replace With </td></tr></table></body>

Spike




Jo said:
Sorry!!!!!!!!!!!!!!! it just occured to me that when i used that code
it
may
have been on hubby's computer and he runs publisher 03. It may work on
07.... I'll check...

:

I put a WATCH on this thread

Spike

Ok Jo, now is the time to help us out. How the heck did you manage
to
center or centre your Pub 2007 web pages? We figured it out through
version 2002, but no one could get 2003 or 2007 to center. Please be
our
hero and share how you edited the code to center...excuse
me...centre
the
page.

As per the software, Don has recommended "Replace in Files":
http://www.emurasoft.com/replall/index.htm

DavidF

I have used html to centre my publisher 2007 built website.
Somewhere
in
my
internet searching travels I heard about a software that you could
buy...that
helps with this. It basically finds and replaces coding in each
page
(so
you
don't have to edit each page individually). I can't remember what
its
called.... Anyone heard of it? Or something similar?
 
C

cpappas

Thanks David, I'll try that.

DavidF said:
When you publish your html output, direct it to a folder on your computer.
Then you can open the .htm files with NotePad and add the code. You have to
do this each time you change your Pub file and produce new code.

If you still have FP, you would probably be better off going back to it.

DavidF

cpappas said:
Okay...how do you get to where you can input these codes? It was easy to
find in Front page 2000.

Spike said:
Using "replace in files" I found a common point of replacement that
appears
to work for me for Publisher 2007.

Sine the background changes from one publication to another I found the
closest commonality after <body>.
That turned out to be </v:background></xml><![endif]-->

Since "replace in files" needs to have the entire text on one line I made
the replacement string as shown below.
I also changed the 1000 to 800 to accommodate the 1024 X 768 settings. I
tested it with the settings:
800 X 600
1024 X 768
1440 X 900

Not perfectly centered but real close

Takes two runs of "replace in files"
Once the strings are typed in it just takes selecting the ones you want
with
the drop down arrow for Find and Replace With


Find = </v:background></xml><![endif]-->


Replace With = </v:background></xml><![endif]--><table border="0"
cellpadding="0" cellspacing="2" width="800" align="center"><tr><td>



Find </body>

Replace With </td></tr></table></body>

Spike




Sorry!!!!!!!!!!!!!!! it just occured to me that when i used that code
it
may
have been on hubby's computer and he runs publisher 03. It may work on
07.... I'll check...

:

I put a WATCH on this thread

Spike

Ok Jo, now is the time to help us out. How the heck did you manage
to
center or centre your Pub 2007 web pages? We figured it out through
version 2002, but no one could get 2003 or 2007 to center. Please be
our
hero and share how you edited the code to center...excuse
me...centre
the
page.

As per the software, Don has recommended "Replace in Files":
http://www.emurasoft.com/replall/index.htm

DavidF

I have used html to centre my publisher 2007 built website.
Somewhere
in
my
internet searching travels I heard about a software that you could
buy...that
helps with this. It basically finds and replaces coding in each
page
(so
you
don't have to edit each page individually). I can't remember what
its
called.... Anyone heard of it? Or something similar?
 

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