Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / May 2008

Tip: Looking for answers? Try searching our database.

HTML Code Misaligned

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
imdgolf - 10 May 2008 20:59 GMT
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
Don Schmidt - 10 May 2008 21:29 GMT
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).

>I have designed a website in Publisher 2003 and have inserted some HTML
>code
[quoted text clipped - 9 lines]
>
> Many Thanks
dtsclothing - 11 May 2008 02:05 GMT
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.
---------------------------
This may be the same thing that I have been dealing with.."Floating html"
Please post back if the <center> works.

> Publisher websites are defaulted to left alignment.  It takes special
> coding, some easy, some more complex to center the website.
[quoted text clipped - 49 lines]
> >
> > Many Thanks
Don Schmidt - 11 May 2008 02:37 GMT
Sorry, I am unable to offer any information other than Publisher 2000, the
version I use.

Signature

Don
Vancouver, USA

> Will the code below fix the same type of problem??
> -----------------------
[quoted text clipped - 77 lines]
>> >
>> > Many Thanks
DavidF - 11 May 2008 15:04 GMT
What is the URL of the page in question? What are the specific code
fragments?

DavidF

>I have designed a website in Publisher 2003 and have inserted some HTML
>code
[quoted text clipped - 9 lines]
>
> Many Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.