Keep center orientaton on web site

S

SAJ5212

I"m putting together my 1st web site. I'm wondering how to make the page stay
/ adjust to be centered no matter what size screen. It's tacked to the top
left corner and doesn't adjust when the internet window is stretched.

Is there a setting I can adjust?
 
S

Spike

==================================
Centering Publisher built Web Sites pages:
Version 2009-001
Added inch to pixel conversion
==================================

Edit the htm file(s) and replace </head> with

</head><table border="0" cellpadding="0" cellspacing="2"
width="760"align="center"><tr><td>

" All above on one line "

Be sure that you edit the </head> line and NOT the <head> line

If you are using a page width different than 760 pixels change that number
in the above line
If you are using inches for measurement multiply the width in inches by 96
and use that number

If you have multiple pages you might want to look at
http://www.emurasoft.com/replall/ a simple replace lines in multiple htm
files


Setup the Replace in files program

Find: = </head>

Replace with: = </head><table border="0" cellpadding="0" cellspacing="2"
width="760"align="center"><tr><td>

File Types: = *.htm or *.html (what ever one you are using)

In Folder: = Select the folder where you published the htm / html files

Check the Replace In Subfolders box

The settings will remain until you change them


Then after running the replace in files program (Replace All) ftp the files
to your server


Spike
 
J

Jim

Spike...I thought I was really onto something with your answer.....but when I
tried to open the htm file....it just brings up the webpage. With what do I
edit the htm file and add the lines that you suggest? Thanks, Jim
 
S

Spike

Jim

Right click on the htm file and select edit
OR
Right click on the htm file and select open with and chose notepad
OR
Open note pad and open the htm file from there

Spike
 

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