This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft Publisher > February 2007 > centering web pages in 2003-solution





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author centering web pages in 2003-solution
Pink_Kangaroo

2007-02-04, 10:15 pm

Hi, I know this is an ongoing saga, I have read through almost every post on
this subject now and have actually found one that worked for me, I am very
sorry I forgot to make a note of who posted it but thank you very much, I
have posted it below for others to use.
my question is, when you open a site in notepad (or whatever html editor)
how do you find the code for individual pages? ie when i followed the
instructions it worked beautifully but only for the first page, i understand
i need to repeat for other pages but do not know where to find the code for
them!! Please advise

Do this:

1. Publish your website so that you have an HTML copy on your hard drive.

2. Open "index.htm" in a HTML editor, or at the worst, Notepad

3. Scroll down until you see the <body> tag

4. Underneath the <body> tag, enter this code:

<table border="0" cellpadding="0" cellspacing="2" width="768"
align="center">
<tr>
<td>

5. Scroll all the way to the bottom until you see the </body> tag.

6. ABOVE the </body> tag, enter the following:

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

Your content should now be centered. Repeat with each page.

Mike Koewler

2007-02-04, 10:15 pm

Pink,

Yes, this will work, though for a 50 page site it will be a lot of work.
If Pub used a Master Page correctly (which I understand it does not) you
could put this on it.

Keep in mind, you will have to do this each time you update a page and
you will probably have to use FTP to upload your files.

Mike

Pink_Kangaroo wrote:
> Hi, I know this is an ongoing saga, I have read through almost every post on
> this subject now and have actually found one that worked for me, I am very
> sorry I forgot to make a note of who posted it but thank you very much, I
> have posted it below for others to use.
> my question is, when you open a site in notepad (or whatever html editor)
> how do you find the code for individual pages? ie when i followed the
> instructions it worked beautifully but only for the first page, i understand
> i need to repeat for other pages but do not know where to find the code for
> them!! Please advise
>
> Do this:
>
> 1. Publish your website so that you have an HTML copy on your hard drive.
>
> 2. Open "index.htm" in a HTML editor, or at the worst, Notepad
>
> 3. Scroll down until you see the <body> tag
>
> 4. Underneath the <body> tag, enter this code:
>
> <table border="0" cellpadding="0" cellspacing="2" width="768"
> align="center">
> <tr>
> <td>
>
> 5. Scroll all the way to the bottom until you see the </body> tag.
>
> 6. ABOVE the </body> tag, enter the following:
>
> </td>
> </tr>
> </table>
>
> Your content should now be centered. Repeat with each page.
>

DavidF

2007-02-05, 6:16 pm

In addition to what Mike said, your other pages are contained in the
index_files folder assuming that you are using Pub 2003 and using the
subfolder.

DavidF

"Mike Koewler" <wordwiz@fuse.net> wrote in message
news:827f0$45c676b3$d844dd7c$29749@FUSE.NET...[color=darkred]
> Pink,
>
> Yes, this will work, though for a 50 page site it will be a lot of work.
> If Pub used a Master Page correctly (which I understand it does not) you
> could put this on it.
>
> Keep in mind, you will have to do this each time you update a page and you
> will probably have to use FTP to upload your files.
>
> Mike
>
> Pink_Kangaroo wrote:


Pink_Kangaroo

2007-02-07, 6:15 pm

Thanks David, had already found them but in the end decided to change
everything around so that i have one publisher file for one page, especially
as many parts of the site will need to be updated regularly.
I have learnt so much building this site and thank everybody who has helped
me as i have been a regular visitor to this forum!!
I am soon to learn front page as i think that I have about pushed publisher
to its limits but for anyone who is interested take a look at (an almost
finished site!) www.theplatforms.co.uk btw it is meant to be wild and in your
face!

"DavidF" wrote:

> In addition to what Mike said, your other pages are contained in the
> index_files folder assuming that you are using Pub 2003 and using the
> subfolder.
>
> DavidF
>
> "Mike Koewler" <wordwiz@fuse.net> wrote in message
> news:827f0$45c676b3$d844dd7c$29749@FUSE.NET...
>
>
>

Mike Koewler

2007-02-07, 10:15 pm

Sarah,

I understand band sites are usually at the edge or breaking good web
design ideas. However, looking at the site from the eyes of someone
interested in finding out where they play next, I would expect a button
to skip the flash intro.

Secondly, on the page with the songs, video and reviews, with the player
on the page, I expected the Gig reviews to be some kind of an audio
file, not a pdf.

The video is almost 10 meg - even with broadband, that's a large file to
wait for downloading. I may be wrong, but I think there are ways the
file can start playing before it is completely downloaded. I know there
is for mp3 files (it's called a m3u file. It's nothing but a simple text
file that lists the link of the file you want to play).

Lastly, you use slide show and Slideshow on the same page.

Nevertheless, I thought it was a decent job!

Mike

Pink_Kangaroo wrote:[color=darkred]
> Thanks David, had already found them but in the end decided to change
> everything around so that i have one publisher file for one page, especially
> as many parts of the site will need to be updated regularly.
> I have learnt so much building this site and thank everybody who has helped
> me as i have been a regular visitor to this forum!!
> I am soon to learn front page as i think that I have about pushed publisher
> to its limits but for anyone who is interested take a look at (an almost
> finished site!) www.theplatforms.co.uk btw it is meant to be wild and in your
> face!
>
> "DavidF" wrote:
>
DavidF

2007-02-07, 10:15 pm

Tee hee...Mike, you gotta quit staring at computer screens so much...older
eyes and all that. You must of missed the "to go directly to ....click
here". ;-)

DavidF

"Mike Koewler" <wordwiz@fuse.net> wrote in message
news:45CA6662.6080803@fuse.net...[color=darkred]
> Sarah,
>
> I understand band sites are usually at the edge or breaking good web
> design ideas. However, looking at the site from the eyes of someone
> interested in finding out where they play next, I would expect a button to
> skip the flash intro.
>
> Secondly, on the page with the songs, video and reviews, with the player
> on the page, I expected the Gig reviews to be some kind of an audio file,
> not a pdf.
>
> The video is almost 10 meg - even with broadband, that's a large file to
> wait for downloading. I may be wrong, but I think there are ways the file
> can start playing before it is completely downloaded. I know there is for
> mp3 files (it's called a m3u file. It's nothing but a simple text file
> that lists the link of the file you want to play).
>
> Lastly, you use slide show and Slideshow on the same page.
>
> Nevertheless, I thought it was a decent job!
>
> Mike
>
> Pink_Kangaroo wrote:


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews