Page size in Publisher and Web?

J

JFWL

I´m using page size 984 x 4608 (1024px wide web) but when opening the site on
browser (Firefox) background fills the whole area on the screen.

How can I keep the size as same in browser than it looks in Publisher?
Need some frames or something?
 
D

DavidF

You can't control what size monitor I use, or the size of the browser window
I choose. The background padding is working as designed. Read the following
article.

Understanding background padding in a Publisher web (aka white space):
http://msmvps.com/blogs/dbartosik/pages/80563.aspx

We have worked out a way to center Publisher pages rather than have them
left justified if you are interested. The method depends on the version of
Publisher.

DavidF
 
Y

Yogendra Mehta

David,

I have read the article on white spaces http://msmvps.com/blogs/dbartosik/pages/80563.aspx

If I understand it correctly, the only way to center a web page is to edit the HTML files to set the "align" attribute to "ccenter". I am ready to do that. But I do not know which code segment to change.

Can you provide some guidance?

Thanks,
YM



DavidF wrote:

You cannot control what size monitor I use, or the size of the browser windowI
25-Oct-09

You cannot control what size monitor I use, or the size of the browser windo
I choose. The background padding is working as designed. Read the followin
article

Understanding background padding in a Publisher web (aka white space)
http://msmvps.com/blogs/dbartosik/pages/80563.asp

We have worked out a way to center Publisher pages rather than have the
left justified if you are interested. The method depends on the version o
Publisher

DavidF

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
Creating an Object Configuration Section in .Net 2.0
http://www.eggheadcafe.com/tutorial...d-3fbe41b5ce79/creating-an-object-config.aspx
 
D

DavidF

Sure, but as I said in the other post we need to know what version of
Publisher you are using.

DavidF
 
S

Steve Goodson

I am a fairly new user to MS-Publisher 2007. After a great deal of research, I learned that MicroSoft did not feel that a "center page" command was important.

The easy fix is to download a free shareware program called REPLACE IN FILES (RIF).
You can get it here:

http://www.emurasoft.com/replall/

After you publish your website to it's own directory, run RIF. The software screen will have 4 boxes to insert code information or select the location of your published web files; and 4 check mark boxes.

Use this code in the first 4 boxes.

1. </head>

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

3. *.htm

4. Directory location of published files

(Leave the bottom 4 check mark boxes un-checked!)
Hit the "Replace" button.

Finished (your settings will be saved for the next time)

- The program basically inserts the "center code" into all the published files with an .htm extension -

This program works flawlessly every time.

It's a shame that MicroSoft could not have incorporated such an important simple command into this otherwise easy to use software.





Yogendra Mehta wrote:

Centering the web page
27-Oct-09

David,

I have read the article on white spaces http://msmvps.com/blogs/dbartosik/pages/80563.aspx

If I understand it correctly, the only way to center a web page is to edit the HTML files to set the "align" attribute to "ccenter". I am ready to do that. But I do not know which code segment to change.

Can you provide some guidance?

Thanks,
YM

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
Xigla Absolute Banner Manager .NET - Our Nightmare
http://www.eggheadcafe.com/tutorial...a-3598489b27ca/xigla-absolute-banner-man.aspx
 
S

Steve Goodson

I am a fairly new user to MS-Publisher 2007. After a great deal of research, I learned that MicroSoft did not feel that a "center page" command was important.

The easy fix is to download a free shareware program called REPLACE IN FILES (RIF).
You can get it here:

http://www.emurasoft.com/replall/

After you publish your website to it's own directory, run RIF. The software screen will have 4 boxes to insert code information or select the location of your published web files; and 4 check mark boxes.

Use this code in the first 4 boxes.

1. </head>

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

3. *.htm

4. Directory location of published files

(Leave the bottom 4 check mark boxes un-checked!)

Hit the "Replace" button.

Finished (your settings will be saved for the next time)

- The program basically inserts the "center code" into all the published files with an .htm extension -

This program works flawlessly every time.

It's a shame that MicroSoft could not have incorporated such an important simple command into this otherwise easy to use software.



Yogendra Mehta wrote:

Centering the web page
27-Oct-09

David,

I have read the article on white spaces http://msmvps.com/blogs/dbartosik/pages/80563.aspx

If I understand it correctly, the only way to center a web page is to edit the HTML files to set the "align" attribute to "ccenter". I am ready to do that. But I do not know which code segment to change.

Can you provide some guidance?

Thanks,
YM

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
Generate Server Side Dropdown Menues
http://www.eggheadcafe.com/tutorial...b-248c4cb18755/generate-server-side-drop.aspx
 
M

MAURH

Steve,

I think we all agree that it would be much easier if Microsoft included the
'Centre' code in their web design software, it is a shame but unfortunately
they do not appear to consider it important. So for those of us who use
Publisher and want to centre our pages, it's necessary to find a workaround.

Replace in Files is a very good one and this method has been recorded here
many times, but thank you for reminding posters once again and I'm pleased
you discovered the fix.

It also works for 2003. I have used it for a long time and as you say it
works flawlessly every time. It's easy to use and only adds a couple of
clicks to your publishing. But I understand that it doesn't work for all
versions so when people ask about this element, it's important that they
include which version of Publisher they are using in their post, which
DavidF asked in his reply to Yogendra.

The process of providing an answer to problems people are having with their
websites, could be so much quicker if they provide as much information as
possible in their first post, i.e. which version of Publisher they are
using, which browser they are using and even a link to their website so that
people here can see the problem.

Like you I find Publisher easy to use....now if we could just convince
Microsoft that they could make it even easier..... :)

Maureen
 
E

Eric James

It should be borne in mind however that Publisher is not principally a web
design program. It is a desktop publishing program which happens to have a
feature to export to web pages, and post-Publisher 2000, not a very good one
at that.
 
E

Eric James

If I understand it correctly, the only way to center a web page is to edit
the HTML files to set the "align" attribute to "ccenter".

No that is not true. There are several ways to achieve this, some much
better than others.
Be aware that although they do appear to work, the methods usually presented
here result in an incorrectly structured and fundamentally invalid html
document which will give unpredictable results in some browsers, and may not
even display at all in future versions and on mobiles, etc.
A much better method is to simply apply some extra css code to the
document - this still requires some manual editing, but not to the html
part, and it will work with output from any version of Publisher, or indeed
any web page. Google will lead you to probably hundreds of descriptions of
how to do this, but you could start here:
http://www.wdil.org/reuseables/centering-web-pages-with-css for instance.
 

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