Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Publisher Website Positioning In Browser 1

Status
Not open for further replies.

JSMSPUB

Technical User
Jul 11, 2010
4
US
I built a website using MS Publisher 2007. Everything seems to work pretty well, except that it doesn't center itself in the browser. It's always flush left. If you stretch or maximize the browser the white space just expands to the right and the website stays fixed to the left side. Any suggestions on how to have site dynamically find the center of the browser? Thanks!
 
Publisher is a desktop publishing program, not really meant for creating websites. (But then again neither is Word and
people still use it.)

You will need to use padding to accomplish "centering" if you want to continue to use Publisher.

Edit the htm file(s) and replace </head> with </head><table border="0" cellpadding="0" cellspacing="2"
width="760"align="center"><tr><td>

If you are using a page width different than 760 pixels change that number in the above line


--
JP
 
JP -

One more, hopefully easy/quick quetsion... I was apply to apply the fix by editing the Index file via NotePad, but that only applied to the Home Page. Is there an easy way for me to apply the centering to the site's interior pages?

Thanks,

Jeff
 
No. It had to be done to each page and when you change the content of that page and upload it again, you have to make the change again. This is why you really should be using the right tool for the job.

--
JP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top