This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft Publisher > November 2007 > centering objects in browser after resize





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 objects in browser after resize
spandon

2007-11-09, 6:17 pm

Hello,

When I publish my web pages with Publisher I notice that the objects seem to
group in the upper left hand corner.

What I want is whenever the browser is loaded or resized that the objects
remain centered left and right.

How can I do this?
Don Schmidt

2007-11-09, 6:17 pm

When you say "objects" do you mean the webpage? If so, Publisher creates
webpages left justified. Only Publisher 2000 and 2002 can be centered
justified and then it must be done manually in the html files, each time the
website is updated.

If you have Publisher 2000 or 2002 here's my canned response:
======================================
This works only for websites created with Publisher 2000 & 2002.

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
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
------
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).


"spandon" <spandon@discussions.microsoft.com> wrote in message
news:0C2F00EE-6E0E-4F63-B45E-56AAF3D6B1B5@microsoft.com...
> Hello,
>
> When I publish my web pages with Publisher I notice that the objects seem
> to
> group in the upper left hand corner.
>
> What I want is whenever the browser is loaded or resized that the objects
> remain centered left and right.
>
> How can I do this?



spandon

2007-11-09, 6:17 pm

Hi Don,

yes, I meant the web page - is there any workaround with 2003?

thanks,
Stergios

"Don Schmidt" wrote:

> When you say "objects" do you mean the webpage? If so, Publisher creates
> webpages left justified. Only Publisher 2000 and 2002 can be centered
> justified and then it must be done manually in the html files, each time the
> website is updated.
>
> If you have Publisher 2000 or 2002 here's my canned response:
> ======================================
> This works only for websites created with Publisher 2000 & 2002.
>
> 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
> 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
> ------
> 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).
>
>
> "spandon" <spandon@discussions.microsoft.com> wrote in message
> news:0C2F00EE-6E0E-4F63-B45E-56AAF3D6B1B5@microsoft.com...
>
>
>

DavidF

2007-11-09, 6:17 pm

As Don said, you cannot center pages in Pub 2003. You can simulate the
effect: Understanding background padding in a Publisher web (aka white
space) :
http://msmvps.com/blogs/dbartosik/a...1/07/80563.aspx

DavidF

"spandon" <spandon@discussions.microsoft.com> wrote in message
news:3E212EA2-39CC-4847-85AA-1DA7D8B4DC39@microsoft.com...[color=darkred]
> Hi Don,
>
> yes, I meant the web page - is there any workaround with 2003?
>
> thanks,
> Stergios
>
> "Don Schmidt" wrote:
>


veteran user

2007-11-11, 6:16 pm

To get your information to the center go to File, Page setup. Here you have
two options: using Custom feature where you can change the width and height
of your webpage, or select webpage and change the width. I use a width
1000px and height 4608px. Changing the width will give you the ability to
center your page. You can go wider if you need to. To hold your information
on a published page, use tables and/or a single table box around
information/graphics/text boxes. This will keep the format and embed
fonts/graphics/etc when you publish your page. Hope this helps!

"spandon" wrote:

> Hello,
>
> When I publish my web pages with Publisher I notice that the objects seem to
> group in the upper left hand corner.
>
> What I want is whenever the browser is loaded or resized that the objects
> remain centered left and right.
>
> How can I do this?

Mike Koewler

2007-11-11, 6:16 pm

No, it will NOT center the page. It will fill the screen if the person
has their browser set to 1000 pixel but not if they are set to 1260,
1600, etc. And if they are viewing it at 800 pixels, they will get a
horizontal scroll bar.

Mike

veteran user wrote:
[color=darkred]
> To get your information to the center go to File, Page setup. Here you have
> two options: using Custom feature where you can change the width and height
> of your webpage, or select webpage and change the width. I use a width
> 1000px and height 4608px. Changing the width will give you the ability to
> center your page. You can go wider if you need to. To hold your information
> on a published page, use tables and/or a single table box around
> information/graphics/text boxes. This will keep the format and embed
> fonts/graphics/etc when you publish your page. Hope this helps!
>
> "spandon" wrote:
>
>
Sponsored Links


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