MS Publisher: for DavidF and others.

  • Thread starter The Hat Man Ireland
  • Start date
T

The Hat Man Ireland

Further to our recent 'communications', I have just discovered something
which I thought you might like to know about.
While I am aware that this particular forum is supposed to about MS Pub. I
hope MS will forgive me for using up their space to briefly refer to
DREAMWEAVER, I think they might because it does involve their(MS's) IE6/7.
Just this morning I was doing some work on my site (www.thehatmanireland.com).
I was changing the four cartoon clip art links on the home page (about the
market, how to..etc.) from standard links to rollover links. When I went to
check my work in PREVIEW IN BROWSER (in DW) I was delighted to see that they
actually worked properly with my now reinstalled IE6. This was NOT the case
with IE7. With 7 I had to upload my sight to the web first before I could
find out if my rollovers were working.
Like I said, just thought I'd let you know.
The Hat Man.
 
R

Rob Giordano \(Crash\)

That is only because IE7 will not allow scripts to run on local machine
without permission.
http://msdn2.microsoft.com/en-us/library/ms537628.aspx

Had you added a MOTW to your website it should have viewed fine in DW
Preview in Browser.

--

Rob Giordano
Microsoft MVP - FrontPage





message | Further to our recent 'communications', I have just discovered something
| which I thought you might like to know about.
| While I am aware that this particular forum is supposed to about MS Pub. I
| hope MS will forgive me for using up their space to briefly refer to
| DREAMWEAVER, I think they might because it does involve their(MS's) IE6/7.
| Just this morning I was doing some work on my site
(www.thehatmanireland.com).
| I was changing the four cartoon clip art links on the home page (about the
| market, how to..etc.) from standard links to rollover links. When I went
to
| check my work in PREVIEW IN BROWSER (in DW) I was delighted to see that
they
| actually worked properly with my now reinstalled IE6. This was NOT the
case
| with IE7. With 7 I had to upload my sight to the web first before I could
| find out if my rollovers were working.
| Like I said, just thought I'd let you know.
| The Hat Man.
|
|
 
D

DavidF

The Hat Man,

Thanks for taking the time to post. I appreciate knowing that it is not just
Publisher web page preview that is "broken" by IE7. It is one more piece to
the puzzle.

Did you ever post the problem of previewing Dreamweaver webpages in IE7 to a
Dreamweaver forum?

Mike Koewler, a regular poster in this forum, uses Serif WebPlus to build
his sites, and I think I remember him saying that IE7 also created some
problems for this group of web builders.

Now if someone...or MSFT...would tell us what we have to do to change the
settings in IE7 so it doesn't create these problems, we could all move
forward. Those people with Vista don't have the option of rolling back to
IE6.

Thanks again.

DavidF
 
D

DavidF

Rob,

Thanks. I read the article, but it seems that this is talking about IE6, not
IE7. The Hat Man did not have problems with IE6. The problem is with
previewing a website on a local machine in both Publisher and Dreamweaver
with IE7.

Are you saying that the problems with previewing web pages produced by
Publisher in IE7 would be fixed if one added a MOTW? As you cannot edit the
Publisher generated html code directly prior to doing a web page
preview...it isn't even generated yet, are you suggesting that you should
use the insert html code fragment tool to insert something like:

<!-- saved from url=(0014)about:internet -->

into the Publisher page prior to trying to preview the page?

While I don't doubt that this is probably the problem, I guess what I am
saying is that I don't know how to use this information about the need for a
MOTW in solving the problem people are having with previewing their
Publisher web pages with IE7. Could you explain it to me please. Thanks.

DavidF
 
R

Rob Giordano \(Crash\)

inline..

--

Rob Giordano
Microsoft MVP - FrontPage





| Rob,
|
| Thanks. I read the article, but it seems that this is talking about IE6,
not
| IE7. The Hat Man did not have problems with IE6. The problem is with
| previewing a website on a local machine in both Publisher and Dreamweaver
| with IE7.

More so with 7 I believe.

Actually; I downloaded thehatman's website with both FP & Dreamweaver and
tried Preview in Browser and got the security warning, once around that his
site worked fine for me locally with IE7. I don't have 6 anymore but that's
not important for this test.


|
| Are you saying that the problems with previewing web pages produced by
| Publisher in IE7 would be fixed if one added a MOTW? As you cannot edit
the
| Publisher generated html code directly prior to doing a web page
| preview...it isn't even generated yet, are you suggesting that you should
| use the insert html code fragment tool to insert something like:
|
| <!-- saved from url=(0014)about:internet -->

Yes, you should try it and see if it works.

|
| into the Publisher page prior to trying to preview the page?
Yes.

|
| While I don't doubt that this is probably the problem, I guess what I am
| saying is that I don't know how to use this information about the need for
a
| MOTW in solving the problem people are having with previewing their
| Publisher web pages with IE7. Could you explain it to me please. Thanks.

I don't either, you use Publisher for webs much more than I, I was hoping
you could try it out. Publisher not being an html editor is a big problem.



|
| DavidF
|
| | > That is only because IE7 will not allow scripts to run on local machine
| > without permission.
| > http://msdn2.microsoft.com/en-us/library/ms537628.aspx
| >
| > Had you added a MOTW to your website it should have viewed fine in DW
| > Preview in Browser.
| >
| > --
| >
| > Rob Giordano
| > Microsoft MVP - FrontPage
| >
| >
| >
| >
| >
| > in
| > message | > | Further to our recent 'communications', I have just discovered
| > something
| > | which I thought you might like to know about.
| > | While I am aware that this particular forum is supposed to about MS
Pub.
| > I
| > | hope MS will forgive me for using up their space to briefly refer to
| > | DREAMWEAVER, I think they might because it does involve their(MS's)
| > IE6/7.
| > | Just this morning I was doing some work on my site
| > (www.thehatmanireland.com).
| > | I was changing the four cartoon clip art links on the home page (about
| > the
| > | market, how to..etc.) from standard links to rollover links. When I
went
| > to
| > | check my work in PREVIEW IN BROWSER (in DW) I was delighted to see
that
| > they
| > | actually worked properly with my now reinstalled IE6. This was NOT the
| > case
| > | with IE7. With 7 I had to upload my sight to the web first before I
| > could
| > | find out if my rollovers were working.
| > | Like I said, just thought I'd let you know.
| > | The Hat Man.
| > |
| > |
| >
| >
|
|
 
D

DavidF

Thanks Rob. A point of clarification...the site Hat Man has posted was built
with DW, not Publisher. He was just using Publisher to produce some of the
art components that he then used in his DW built site, and was testing how
things looked by doing a web page preview from Publisher.

Unfortunately I can't test the use of a MOTW myself as I can not reproduce
the problem. Nor does it seem that not being able to preview a Publisher web
page in IE7 is a universal problem among all IE7 users, which makes it even
more difficult to troubleshoot.

I have IE7 installed on a test partition but have no problem doing a webpage
preview. Yes, I get the information bar and the security warnings about
active content, but once I click through that, the page does preview. This
is the same behavior as with IE6. I am running XP SP2.

I did try inserting via the code fragment tool, the MOTW code snippet into a
Pub doc and preview with IE6, and the MOTW does not prevent the information
bar and security warning from coming up. But then perhaps trying to prevent
the security warning from popping up means nothing when it comes to actually
being able to preview a Publisher web page, given that I can click through
that anyway.

Oh well, thanks for your help anyway. I am convinced that it is a security
issue...just not sure how to work around it. The next time someone posts, I
will try to remember this and ask them to test inserting the MOTW. If you
have any other thought now or in the future, please advise.

DavidF
 
R

Rob Giordano \(Crash\)

--

Rob Giordano
Microsoft MVP - FrontPage





| Thanks Rob. A point of clarification...the site Hat Man has posted was
built
| with DW, not Publisher. He was just using Publisher to produce some of the
| art components that he then used in his DW built site, and was testing how
| things looked by doing a web page preview from Publisher.

Yes I know. Earlier I was trying to make a point with him to not try to
preview in Publisher, rather in DW>Preview in Browser and it would have been
interesting to have him try that before he switched back to IE6.



|
| Unfortunately I can't test the use of a MOTW myself as I can not reproduce
| the problem. Nor does it seem that not being able to preview a Publisher
web
| page in IE7 is a universal problem among all IE7 users, which makes it
even
| more difficult to troubleshoot.

I will try it as soon as I can figure out why Publisher 2007 won't install
on my machine. I also wanted to mess around with an idea I had for
centering...got half way there..well not half way...I got all the way to the
right :))))

|
| I have IE7 installed on a test partition but have no problem doing a
webpage
| preview. Yes, I get the information bar and the security warnings about
| active content, but once I click through that, the page does preview. This
| is the same behavior as with IE6. I am running XP SP2.
|
| I did try inserting via the code fragment tool, the MOTW code snippet into
a
| Pub doc and preview with IE6, and the MOTW does not prevent the
information
| bar and security warning from coming up. But then perhaps trying to
prevent
| the security warning from popping up means nothing when it comes to
actually
| being able to preview a Publisher web page, given that I can click through
| that anyway.
|
| Oh well, thanks for your help anyway. I am convinced that it is a security
| issue...just not sure how to work around it. The next time someone posts,
I
| will try to remember this and ask them to test inserting the MOTW. If you
| have any other thought now or in the future, please advise.
|
| DavidF
|
| | > inline..
| >
| > --
| >
| > Rob Giordano
| > Microsoft MVP - FrontPage
| >
| >
| >
| >
| >
| > | > | Rob,
| > |
| > | Thanks. I read the article, but it seems that this is talking about
IE6,
| > not
| > | IE7. The Hat Man did not have problems with IE6. The problem is with
| > | previewing a website on a local machine in both Publisher and
| > Dreamweaver
| > | with IE7.
| >
| > More so with 7 I believe.
| >
| > Actually; I downloaded thehatman's website with both FP & Dreamweaver
and
| > tried Preview in Browser and got the security warning, once around that
| > his
| > site worked fine for me locally with IE7. I don't have 6 anymore but
| > that's
| > not important for this test.
| >
| >
| > |
| > | Are you saying that the problems with previewing web pages produced by
| > | Publisher in IE7 would be fixed if one added a MOTW? As you cannot
edit
| > the
| > | Publisher generated html code directly prior to doing a web page
| > | preview...it isn't even generated yet, are you suggesting that you
| > should
| > | use the insert html code fragment tool to insert something like:
| > |
| > | <!-- saved from url=(0014)about:internet -->
| >
| > Yes, you should try it and see if it works.
| >
| > |
| > | into the Publisher page prior to trying to preview the page?
| > Yes.
| >
| > |
| > | While I don't doubt that this is probably the problem, I guess what I
am
| > | saying is that I don't know how to use this information about the need
| > for
| > a
| > | MOTW in solving the problem people are having with previewing their
| > | Publisher web pages with IE7. Could you explain it to me please.
Thanks.
| >
| > I don't either, you use Publisher for webs much more than I, I was
hoping
| > you could try it out. Publisher not being an html editor is a big
problem.
| >
| >
| >
| > |
| > | DavidF
| > |
| > message
| > | | > | > That is only because IE7 will not allow scripts to run on local
| > machine
| > | > without permission.
| > | > http://msdn2.microsoft.com/en-us/library/ms537628.aspx
| > | >
| > | > Had you added a MOTW to your website it should have viewed fine in
DW
| > | > Preview in Browser.
| > | >
| > | > --
| > | >
| > | > Rob Giordano
| > | > Microsoft MVP - FrontPage
| > | >
| > | >
| > | >
| > | >
| > | >
| > | > "The Hat Man Ireland" <[email protected]>
| > wrote
| > | > in
| > | > message | > | > | Further to our recent 'communications', I have just discovered
| > | > something
| > | > | which I thought you might like to know about.
| > | > | While I am aware that this particular forum is supposed to about
MS
| > Pub.
| > | > I
| > | > | hope MS will forgive me for using up their space to briefly refer
to
| > | > | DREAMWEAVER, I think they might because it does involve
their(MS's)
| > | > IE6/7.
| > | > | Just this morning I was doing some work on my site
| > | > (www.thehatmanireland.com).
| > | > | I was changing the four cartoon clip art links on the home page
| > (about
| > | > the
| > | > | market, how to..etc.) from standard links to rollover links. When
I
| > went
| > | > to
| > | > | check my work in PREVIEW IN BROWSER (in DW) I was delighted to see
| > that
| > | > they
| > | > | actually worked properly with my now reinstalled IE6. This was NOT
| > the
| > | > case
| > | > | with IE7. With 7 I had to upload my sight to the web first before
I
| > | > could
| > | > | find out if my rollovers were working.
| > | > | Like I said, just thought I'd let you know.
| > | > | The Hat Man.
| > | > |
| > | > |
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
D

DavidF

Rob,

Maybe we are saying the same thing, but I think that the whole reason The
Hat Man posted was to tell me that web page preview in DW was also a problem
with IE7, and that the problem was "cured" by rolling back to IE6. At the
same time it would have been interesting to see if adding the MOTW to his DW
code would have fixed the problem in IE7. You are probably saying the same
thing...

You would be the resident hero if you could develop a code snippet that
could be inserted into a Publisher (2003 and 2007) web page that would
center the page in the browser window!!! Don, the resident "centering
expert", would especially appreciate it. Seriously, centering the pages is
one of the most common requests to this group, so we all look forward to
your solution. Thanks.

DavidF
 
T

The Hat Man Ireland

Hi David,
Am I reading this right?
You want your site to appear in the centre of the browser window instead of
at the left which is usualy the case?
I find it hard to accept that you would be unable to do this, which is why I
am having doubts that it is actually what you are describing.
IF IT IS the problem, I have a method which I'm too embarressed to detail
right now because of the above mentioned doubts.
Let me know.
The Hat Man.
 
M

Mike Koewler

Actually, it is quite simple. In the html find the <body> tag and delete
it. Replace it with
<body>
<center><div style="position:relative;width:775px;"> (or whatever width
one wants)
Just before the </body> tag add </center></div>

I tried it in 2007 and it works.

Mike
 
R

Rob Giordano \(Crash\)

Yah, but you're using DW. Try centering a page in Pub 2003.

--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression





message | Hi David,
| Am I reading this right?
| You want your site to appear in the centre of the browser window instead
of
| at the left which is usualy the case?
| I find it hard to accept that you would be unable to do this, which is why
I
| am having doubts that it is actually what you are describing.
| IF IT IS the problem, I have a method which I'm too embarressed to detail
| right now because of the above mentioned doubts.
| Let me know.
| The Hat Man.
|
|
|
|
| "DavidF" wrote:
|
| > Rob,
| >
| > Maybe we are saying the same thing, but I think that the whole reason
The
| > Hat Man posted was to tell me that web page preview in DW was also a
problem
| > with IE7, and that the problem was "cured" by rolling back to IE6. At
the
| > same time it would have been interesting to see if adding the MOTW to
his DW
| > code would have fixed the problem in IE7. You are probably saying the
same
| > thing...
| >
| > You would be the resident hero if you could develop a code snippet that
| > could be inserted into a Publisher (2003 and 2007) web page that would
| > center the page in the browser window!!! Don, the resident "centering
| > expert", would especially appreciate it. Seriously, centering the pages
is
| > one of the most common requests to this group, so we all look forward to
| > your solution. Thanks.
| >
| > DavidF
| >
| >
| >
| >
message
| > | > >
| > >
| > > --
| > >
| > > Rob Giordano
| > > Microsoft MVP - FrontPage
| > >
| > >
| > >
| > >
| > >
| > > | > > | Thanks Rob. A point of clarification...the site Hat Man has posted
was
| > > built
| > > | with DW, not Publisher. He was just using Publisher to produce some
of
| > > the
| > > | art components that he then used in his DW built site, and was
testing
| > > how
| > > | things looked by doing a web page preview from Publisher.
| > >
| > > Yes I know. Earlier I was trying to make a point with him to not try
to
| > > preview in Publisher, rather in DW>Preview in Browser and it would
have
| > > been
| > > interesting to have him try that before he switched back to IE6.
| > >
| > >
| > >
| > > |
| > > | Unfortunately I can't test the use of a MOTW myself as I can not
| > > reproduce
| > > | the problem. Nor does it seem that not being able to preview a
Publisher
| > > web
| > > | page in IE7 is a universal problem among all IE7 users, which makes
it
| > > even
| > > | more difficult to troubleshoot.
| > >
| > > I will try it as soon as I can figure out why Publisher 2007 won't
install
| > > on my machine. I also wanted to mess around with an idea I had for
| > > centering...got half way there..well not half way...I got all the way
to
| > > the
| > > right :))))
| > >
| > > |
| > > | I have IE7 installed on a test partition but have no problem doing a
| > > webpage
| > > | preview. Yes, I get the information bar and the security warnings
about
| > > | active content, but once I click through that, the page does
preview.
| > > This
| > > | is the same behavior as with IE6. I am running XP SP2.
| > > |
| > > | I did try inserting via the code fragment tool, the MOTW code
snippet
| > > into
| > > a
| > > | Pub doc and preview with IE6, and the MOTW does not prevent the
| > > information
| > > | bar and security warning from coming up. But then perhaps trying to
| > > prevent
| > > | the security warning from popping up means nothing when it comes to
| > > actually
| > > | being able to preview a Publisher web page, given that I can click
| > > through
| > > | that anyway.
| > > |
| > > | Oh well, thanks for your help anyway. I am convinced that it is a
| > > security
| > > | issue...just not sure how to work around it. The next time someone
| > > posts,
| > > I
| > > | will try to remember this and ask them to test inserting the MOTW.
If
| > > you
| > > | have any other thought now or in the future, please advise.
| > > |
| > > | DavidF
| > > |
| > > message
| > > | | > > | > inline..
| > > | >
| > > | > --
| > > | >
| > > | > Rob Giordano
| > > | > Microsoft MVP - FrontPage
| > > | >
| > > | >
| > > | >
| > > | >
| > > | >
| > > | > | > > | > | Rob,
| > > | > |
| > > | > | Thanks. I read the article, but it seems that this is talking
about
| > > IE6,
| > > | > not
| > > | > | IE7. The Hat Man did not have problems with IE6. The problem is
with
| > > | > | previewing a website on a local machine in both Publisher and
| > > | > Dreamweaver
| > > | > | with IE7.
| > > | >
| > > | > More so with 7 I believe.
| > > | >
| > > | > Actually; I downloaded thehatman's website with both FP &
Dreamweaver
| > > and
| > > | > tried Preview in Browser and got the security warning, once around
| > > that
| > > | > his
| > > | > site worked fine for me locally with IE7. I don't have 6 anymore
but
| > > | > that's
| > > | > not important for this test.
| > > | >
| > > | >
| > > | > |
| > > | > | Are you saying that the problems with previewing web pages
produced
| > > by
| > > | > | Publisher in IE7 would be fixed if one added a MOTW? As you
cannot
| > > edit
| > > | > the
| > > | > | Publisher generated html code directly prior to doing a web page
| > > | > | preview...it isn't even generated yet, are you suggesting that
you
| > > | > should
| > > | > | use the insert html code fragment tool to insert something like:
| > > | > |
| > > | > | <!-- saved from url=(0014)about:internet -->
| > > | >
| > > | > Yes, you should try it and see if it works.
| > > | >
| > > | > |
| > > | > | into the Publisher page prior to trying to preview the page?
| > > | > Yes.
| > > | >
| > > | > |
| > > | > | While I don't doubt that this is probably the problem, I guess
what
| > > I
| > > am
| > > | > | saying is that I don't know how to use this information about
the
| > > need
| > > | > for
| > > | > a
| > > | > | MOTW in solving the problem people are having with previewing
their
| > > | > | Publisher web pages with IE7. Could you explain it to me please.
| > > Thanks.
| > > | >
| > > | > I don't either, you use Publisher for webs much more than I, I was
| > > hoping
| > > | > you could try it out. Publisher not being an html editor is a big
| > > problem.
| > > | >
| > > | >
| > > | >
| > > | > |
| > > | > | DavidF
| > > | > |
in
| > > | > message
| > > | > | | > > | > | > That is only because IE7 will not allow scripts to run on
local
| > > | > machine
| > > | > | > without permission.
| > > | > | > http://msdn2.microsoft.com/en-us/library/ms537628.aspx
| > > | > | >
| > > | > | > Had you added a MOTW to your website it should have viewed
fine in
| > > DW
| > > | > | > Preview in Browser.
| > > | > | >
| > > | > | > --
| > > | > | >
| > > | > | > Rob Giordano
| > > | > | > Microsoft MVP - FrontPage
| > > | > | >
| > > | > | >
| > > | > | >
| > > | > | >
| > > | > | >
| > > | > | > "The Hat Man Ireland"
<[email protected]>
| > > | > wrote
| > > | > | > in
| > > | > | > message
| > > | > | > | Further to our recent 'communications', I have just
discovered
| > > | > | > something
| > > | > | > | which I thought you might like to know about.
| > > | > | > | While I am aware that this particular forum is supposed to
about
| > > MS
| > > | > Pub.
| > > | > | > I
| > > | > | > | hope MS will forgive me for using up their space to briefly
| > > refer
| > > to
| > > | > | > | DREAMWEAVER, I think they might because it does involve
| > > their(MS's)
| > > | > | > IE6/7.
| > > | > | > | Just this morning I was doing some work on my site
| > > | > | > (www.thehatmanireland.com).
| > > | > | > | I was changing the four cartoon clip art links on the home
page
| > > | > (about
| > > | > | > the
| > > | > | > | market, how to..etc.) from standard links to rollover links.
| > > When
| > > I
| > > | > went
| > > | > | > to
| > > | > | > | check my work in PREVIEW IN BROWSER (in DW) I was delighted
to
| > > see
| > > | > that
| > > | > | > they
| > > | > | > | actually worked properly with my now reinstalled IE6. This
was
| > > NOT
| > > | > the
| > > | > | > case
| > > | > | > | with IE7. With 7 I had to upload my sight to the web first
| > > before
| > > I
| > > | > | > could
| > > | > | > | find out if my rollovers were working.
| > > | > | > | Like I said, just thought I'd let you know.
| > > | > | > | The Hat Man.
| > > | > | > |
| > > | > | > |
| > > | > | >
| > > | > | >
| > > | > |
| > > | > |
| > > | >
| > > | >
| > > |
| > > |
| > >
| > >
| >
| >
| >
 
M

Mike Koewler

Rob,

I can center a page in 2007, does that count? I don't have 2003
installed or I would try that.

Mike
 
M

Mike Koewler

David,

It should be just following the </head> tag. I left the <body> tag alone
and pasted this:
<center><div style="position:relative;width:775px;">
after it.
The result is at http://www.valleycat.net/test2.html

Okay, forgive me for not uploading the image files and stuff. But the
box on the left was placed at th left hand side of the page (at whatever
size Pub defaults to) and the right-hand image at the right edge.

I will tell you, I tried changing the width to 1028px and that didn't
work but that may have been because the original file was set up for 750
or 755. I just tried this as an experiment.

Mike
 
D

DavidF

Hey Hat Man...bring it on! ;-) Publisher generates left justified pages, and
though Mike suggests in this thread that it is easy, it hasn't been easy
enough for anyone else <grin again>. You have to remember that Publisher is
used by those of us that know little too nothing about coding...that's one
of the fundamental reasons to use it. All that coding stuff happens
automagically when we Publish to the Web. It may be embarrassingly simple
for someone that does know how to write code, but not for us less
knowledgeable folks.

Seriously, part of the problem is that Publisher had no built-in support for
centering pages. This means that the only way to change that is to produce
the html pages, open them in NotePad or some other editor, and change the
code to achieve the centering. This also means that even if you are able to
edit the code such that it does result in a centered page, you will have to
redo it every time you change the Publisher page. When you want to make
changes in your web pages, you don't edit the old html code, you make
changes in the original Publisher file, and generate new html files. This
means you will have to edit the code each time, and that it isn't very
practical for someone using Publisher unless they rarely change their site.

Even so, people want to center their pages, and in Publisher 2002 and older,
Don has found a relatively quick way to do this with "ReplaceInFile"
<http://www.emurasoft.com/index.htm>
You can see how he just adds a center tag and an explanation in the thread:
'Centering Web Page Content in Publisher" 9/7/07. In fact he can do
accomplish this without opening the html files in NotePad. Unfortunately Pub
2003 and 2007 has different html code, and the method he uses doesn't work.

As Rob does understand coding, and has been lurking around and helping out
here, we have challenged him to come up with an easy way to center Publisher
web pages. We tried to get MSFT to build this into Publisher, but thus far
have not been successful.

The ideal would be to write a code snippet that could be inserted into the
Publisher page with the insert html code fragment tool, so that each time
that page is changed, and new html code is produced, and you would not have
to edit the code directly. Less ideal, but still valuable, is how and what
to edit in the Pub 2003 and 2007 code, so as to get a centered page. If you
have some ideas, please do share them. Between you, Rob and Mike, and
perhaps Don, maybe you can come up with a good workaround for the left
justified pages.

I am really pleased you are still lurking around. Its nice to have someone
with your experience with DW participating. That's why it is also nice have
Rob and Mike who have their own expertise. We coding dummies appreciate it
;-).

DavidF
 
D

DavidF

Mike,

I can find the last body tag easily, but it is the first body tag that
puzzles me. Can you explain which one it is and where? When I search for
"body" I get a number of references. Here are a few code snippets from the
test page I tried:

p.MsoBodyText3, li.MsoBodyText3, div.MsoBodyText3

<body link=blue vlink=purple bgcolor=white

<p class=MsoBodyText3><span lang=en-US style='language:en-US'>

<p class=MsoBodyText3><span lang=en-US
style='language:en-US'>&nbsp;</span></p>

<p class=MsoBodyText3><span lang=en-US style='language:en-US'>&lt;A
HREF=&quot;</span><a

I don't know how you can tell me this??? But I would like to learn.

Thanks.

DavidF
 
R

Rob Giordano \(Crash\)

And I don't have 2007 installed yet either :))
--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression





| Rob,
|
| I can center a page in 2007, does that count? I don't have 2003
| installed or I would try that.
|
| Mike
|
| Rob Giordano (Crash) wrote:
|
| > Yah, but you're using DW. Try centering a page in Pub 2003.
| >
 
D

DavidF

Hummm...those two blue boxes are not centered in my browser window,
regardless of the size of the window.

It appears they are now right justified??

BTW unless you changed it, a Publisher page is probably set at the default
of 760 pixels wide.

I will play with your code snippets and see what results I get. Thanks Mike.

DavidF
 
M

Mike Koewler

David,

At 1024 px wide, they are slightly to the right of center in my browser.
Aha, if I change the width to 836 px it centers perfectly. I'm guessing
that it is somehow related to Pub's default settings; the page width is
defined in inches. And that width is 8.0302 inches. I divided it by
..0096 (for 96 pixels per inch and came up with the 836 pixel number. It
seemed to center in a 1268 px browser also but I'll let you Pub experts
figure out how to do it exactly!

Mike
 
T

The Hat Man Ireland

DavidF (&interested parties),
I love this 'us less knowledgeable folk' bit in the first paragraph....
I know nothing about CODING, HTML and some of the other jargon you guys are
using.
I still have my doubts as to what it is you want to do BUT....
log on to
www.ahat4u.com
and if this is it - great, because I did it in about 10 mins. this morning
and I'll follow up with the 'HOW TO..'
J**S, I've caused some debating since my first enquiry.......
The Hat Man.
 

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