Cannot center webpage designed with Publisher 2007

S

STLSSC

I used Publisher 2007 to design my site (hosted through Office Live). When I
view my website, everything is off center (aligned to the left side). I'd
appreciate it if someone could help me center my pages!
 
D

Don Schmidt

That's the way Publisher creates websites; left justified.
It can be changed by altering the htm coding but it needs to be done each
time you edit and upload a replacement website.

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

Thanks to "Spike" who has given 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
<http://www.emurasoft.com/replall/> a simple replace lines in multiple htm
files

Then ftp the files to your ISP

=====================================================
 
S

STLSSC

Thanks Don! HUGE help!

Don Schmidt said:
That's the way Publisher creates websites; left justified.
It can be changed by altering the htm coding but it needs to be done each
time you edit and upload a replacement website.

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

Thanks to "Spike" who has given 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
<http://www.emurasoft.com/replall/> a simple replace lines in multiple htm
files

Then ftp the files to your ISP

=====================================================
 
S

STLSSC

Don,

Any advise on how to use the "replace all files program"? It seems
pretty simple, but I cannot get it to work. I typed replace <head> with the
code in your message. I also have the correct target file. ?????
 
D

Don Schmidt

"STLSSC"

Assuming you are using either Publisher 2003 or 2007, you may have
overlooked the / in the code </head>
 

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