HTML Code Misaligned

I

imdgolf

I have designed a website in Publisher 2003 and have inserted some HTML code
fragments from other web sites to embed within mine. Depending on the screen
resolution these appear in different places. It is correct in 1024 x 768, but
not in higher resolutions such as 1280 x 800.

How can I solve this problem so that it appears in the same location for all
resolutions ?

Many Thanks
 
D

Don Schmidt

Publisher websites are defaulted to left alignment. It takes special
coding, some easy, some more complex to center the website.

Below is my canned response for centering websites.

This works only for websites created with Publisher 2000 & 2002. There are
other fixes for other versions of Publisher. Sorry, I don't have them.

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
hard drive)

The bottom four boxes can be left blank.

Note: Once the boxes are filled out and the "Replace all" is selected, the
entries are retained for the next time you use the program.

Don - www.vanusa.org
------
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).
 
D

dtsclothing

Will the code below fix the same type of problem??
-----------------------
Open the index.htm file in NotePad and right after </head> and underneath
the <body> tag string, type or copy and paste the following code after
changing the width to the width of your page:
<table border="0" cellpadding="0" cellspacing="2" width="760"
align="center">
<tr>
<td>

ABOVE the </body> tag at the end of the page, type or paste the following:

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

Close NotePad and save the changes to index.htm.
 
D

Don Schmidt

Sorry, I am unable to offer any information other than Publisher 2000, the
version I use.
 
D

DavidF

What is the URL of the page in question? What are the specific code
fragments?

DavidF
 

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