MS Publisher: for DavidF and others.

  • Thread starter The Hat Man Ireland
  • Start date
D

DavidF

Rob,

FWIW the coding engine in Pub 2007 is pretty much the same as in 2003. If
you can get code to work in 2003, then it should work in 2007.

DavidF
 
D

DavidF

Hat Man,

Thanks for the effort, but first of all, go to tools > options and you can
change the default measurements from inches to pixels in 2003 and
2007...unless you prefer to work in inches. This might make it easier to
determine the size of your logos and art work that you develop in Publisher
for your DW sites.

I did look at the page you created, but like Mike's it seems that your
approach center the content on a full size browser window at ~1260 pixels
wide, does it center the content if the browser window is smaller than that?
It doesn't seem to. It seems that the content placement is still "absolute",
not "relative" to the size of the browser window. Doesn't DW have the option
of centering your page content on any size window?

The challenge seems to be is to find some way to change the "absolute
positioning" of Publisher 2003 and 2007 web pages to "relative positioning"
just as you can achieve in DW, and as Don can achieve with the <center> tags
in a Pub 2000 web page, and as Mike and Rob can with the software they use.

<grin>I just assume everybody knows more about coding than I do. And don't
worry about causing a debate. I appreciate the opportunity to learn from
people that use other software to build their websites. My knowledge of
other web building software is also pretty limited. Thanks.

DavidF
 
D

DavidF

Mike,

First of all, go to tools > Options and you can change the default
measurements from inches to pixels in 2003 and 2007...unless you prefer to
work in inches.

I haven't had time to play with your approach, but while your approach may
center the content on a full size browser window at 1268 pixels wide, does
it center the content if the browser window is smaller than that? It doesn't
seem to. It seems that the content placement is still "absolute", not
"relative" to the size of the browser window. Doesn't Serif WP center your
page content on any size window?

The challenge seems to be is to find some way to change the "absolute
positioning" of Publisher 2003 and 2007 web pages to "relative positioning"
just as you can achieve in WP, and as Don can achieve with the <center> tags
in a Pub 2000 web page.

DavidF
 
R

Rob Giordano \(Crash\)

print metrics should not be used on the web.



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





| Hat Man,
|
| Thanks for the effort, but first of all, go to tools > options and you can
| change the default measurements from inches to pixels in 2003 and
| 2007...unless you prefer to work in inches. This might make it easier to
| determine the size of your logos and art work that you develop in
Publisher
| for your DW sites.
|
| I did look at the page you created, but like Mike's it seems that your
| approach center the content on a full size browser window at ~1260 pixels
| wide, does it center the content if the browser window is smaller than
that?
| It doesn't seem to. It seems that the content placement is still
"absolute",
| not "relative" to the size of the browser window. Doesn't DW have the
option
| of centering your page content on any size window?
|
| The challenge seems to be is to find some way to change the "absolute
| positioning" of Publisher 2003 and 2007 web pages to "relative
positioning"
| just as you can achieve in DW, and as Don can achieve with the <center>
tags
| in a Pub 2000 web page, and as Mike and Rob can with the software they
use.
|
| <grin>I just assume everybody knows more about coding than I do. And don't
| worry about causing a debate. I appreciate the opportunity to learn from
| people that use other software to build their websites. My knowledge of
| other web building software is also pretty limited. Thanks.
|
| DavidF
|
|
in
| message | > 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.
| >
| >
| >
| > "DavidF" wrote:
| >
| >> 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
| >>
| >>
| >>
| >> "The Hat Man Ireland" <[email protected]>
wrote
| >> in
| >> 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
| >> >> > |
in
| >> >> > 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
| >> >> > | > |
| >> >> > | > | "Rob Giordano (Crash)" <[email protected]>
wrote
| >> >> > 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
|
|
 
M

Mike Koewler

David,

I run at 1024 pixels wide and it centered it but I had to use a relative
width of 834 pix. I briefly set my monitor to 1260 and it remained
centered. The key was to use the <center>
<div style="position:relative;width:834px;">
and delete the
<div style='position:absolute;width:7.-71in;height:3.1459in'>

By doing this, Pub no longer forces the absolute position.

I copied the lines from a WP page that was centered!

Mike
 
R

Rob Giordano \(Crash\)

OT;
I just got an email from Natasha (serif) WebPlus 9 is on sale for 7.95, if I
read the email correctly.


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





| David,
|
| I run at 1024 pixels wide and it centered it but I had to use a relative
| width of 834 pix. I briefly set my monitor to 1260 and it remained
| centered. The key was to use the <center>
| <div style="position:relative;width:834px;">
| and delete the
| <div style='position:absolute;width:7.-71in;height:3.1459in'>
|
| By doing this, Pub no longer forces the absolute position.
|
| I copied the lines from a WP page that was centered!
|
| Mike
|
| DavidF wrote:
| > Mike,
| >
| > First of all, go to tools > Options and you can change the default
| > measurements from inches to pixels in 2003 and 2007...unless you prefer
to
| > work in inches.
| >
| > I haven't had time to play with your approach, but while your approach
may
| > center the content on a full size browser window at 1268 pixels wide,
does
| > it center the content if the browser window is smaller than that? It
doesn't
| > seem to. It seems that the content placement is still "absolute", not
| > "relative" to the size of the browser window. Doesn't Serif WP center
your
| > page content on any size window?
| >
| > The challenge seems to be is to find some way to change the "absolute
| > positioning" of Publisher 2003 and 2007 web pages to "relative
positioning"
| > just as you can achieve in WP, and as Don can achieve with the <center>
tags
| > in a Pub 2000 web page.
| >
| > DavidF
| >
| > | >
| >>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
| >>
| >>DavidF wrote:
| >>
| >>
| >>>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
| >>>
| >>>| >>>
| >>>
| >>>>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
| >>>>
| >>>>DavidF wrote:
| >>>>
| >>>>
| >>>>>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
| >>>>>
| >>>>>
| >>>>>| >>>>>
| >>>>>
| >>>>>
| >>>>>>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
| >>>>>>
| >>>>>>The Hat Man Ireland wrote:
| >>>>>>
| >>>>>>
| >>>>>>
| >>>>>>
| >>>>>>>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
| >>>>>>>>>|
in
| >>>>>>>>>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
| >>>>>>>>>| > |
| >>>>>>>>>| > | "Rob Giordano (Crash)" <[email protected]>
wrote
| >>>>>>>>>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,

That sounds correct. It's one version behind but I cannot tell you how
far behind it is in terms of capabilities. Serif was about three years
in releasing WP10 and added a bunch of new gizmos and gadgets. I would
not be surprised if you bought it that in a couple of months you would
get an offer to buy WP10 for $19.95 or similar. Actually, someone just
got an offer for $29.95 and it included a Resource CD.

Mike
 
D

DavidF

I know what you are saying, but when you do get Pub 2007 installed you will
probably find that the default setting is in inches. After all, it is a DTP
;-)

Older versions of Publisher, such as Pub 2000 did not have the pixel option.

DavidF
 
R

Rob Giordano \(Crash\)

Yep.
Finally got 2007 installed...pretty nice. Makes it real easy to put together
a web.

On the centering issue...I think it can be done but would take an
extraordinary amount of tweeking. I'm gonna play with it some more when I
have time, but I think the solution (if there is one) will be impractical.

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





|I know what you are saying, but when you do get Pub 2007 installed you will
| probably find that the default setting is in inches. After all, it is a
DTP
| ;-)
|
| Older versions of Publisher, such as Pub 2000 did not have the pixel
option.
|
| DavidF
|
| | > print metrics should not be used on the web.
| >
| >
| >
| > --
| > ~~~~~~~~~~~~~~~~~~
| > Rob Giordano
| > Microsoft MVP Expression
| >
| >
| >
| >
| >
| > | > | Hat Man,
| > |
| > | Thanks for the effort, but first of all, go to tools > options and you
| > can
| > | change the default measurements from inches to pixels in 2003 and
| > | 2007...unless you prefer to work in inches. This might make it easier
to
| > | determine the size of your logos and art work that you develop in
| > Publisher
| > | for your DW sites.
| > |
| > | I did look at the page you created, but like Mike's it seems that your
| > | approach center the content on a full size browser window at ~1260
| > pixels
| > | wide, does it center the content if the browser window is smaller than
| > that?
| > | It doesn't seem to. It seems that the content placement is still
| > "absolute",
| > | not "relative" to the size of the browser window. Doesn't DW have the
| > option
| > | of centering your page content on any size window?
| > |
| > | The challenge seems to be is to find some way to change the "absolute
| > | positioning" of Publisher 2003 and 2007 web pages to "relative
| > positioning"
| > | just as you can achieve in DW, and as Don can achieve with the
<center>
| > tags
| > | in a Pub 2000 web page, and as Mike and Rob can with the software they
| > use.
| > |
| > | <grin>I just assume everybody knows more about coding than I do. And
| > don't
| > | worry about causing a debate. I appreciate the opportunity to learn
from
| > | people that use other software to build their websites. My knowledge
of
| > | other web building software is also pretty limited. Thanks.
| > |
| > | DavidF
| > |
| > |
| > | "The Hat Man Ireland" <[email protected]>
wrote
| > in
| > | message | > | > 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.
| > | >
| > | >
| > | >
| > | > "DavidF" wrote:
| > | >
| > | >> 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
| > | >>
| > | >>
| > | >>
| > | >> "The Hat Man Ireland" <[email protected]>
| > wrote
| > | >> in
| > | >> 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
| > | >> >>
| > | >> >>
| > | >> >>
| > | >> >>
in
| > | >> >> 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
| > | >> >> > |
| > | >> >> > | "Rob Giordano (Crash)" <[email protected]>
wrote
| > in
| > | >> >> > 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
| > | >> >> > | > |
| > | >> >> > | > | "Rob Giordano (Crash)" <[email protected]>
| > wrote
| > | >> >> > 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
| > |
| > |
| >
| >
|
|
 
S

Spike

This thread is most interesting
I actually got a SIMPLE page to center with Pub 2007
But with graphics etc NO luck
Don't give up

Spike
 
D

DavidF

Thanks for the additional information. I will test it out when I get a
little time over the next few days. However, it does appear
http://www.valleycat.net/test4.html does "re-center" as I change the window
size of my browser. Looks promising. Please leave test4 up for a while if
you can.

DavidF
 
D

DavidF

Thanks Rob. I agree that if one has to edit the code manually each time a
page is changed, it isn't going to be very practical, but at least there
will be a way.

It looks like Mike may have found a way that will work, but I haven't tested
it yet. If it works out then my hope is that someone can then take it one
step further, and come up with perhaps a small CSS code snippet that can be
inserted via the insert code fragment tool, that would over ride the code
written in Publisher. This would be more practical than editing the code
manually. As an example:

<style>
a{text-decoration:none}
</style>

This code snippet works well in Publisher. Can you come up with something
like this that will result in the pages being centered?

I just wish we could get MSFT to build this feature into Publisher. As Mike
points out, it is certainly possible as his code ideas come from Serif
WebPlus which gives the user the option to center the page.

BTW, congrats on your new title...

DavidF
 
D

DavidF

Spike,

I hope you and everybody else that is lurking out there reading this thread
will feel free to jump in and offer any ideas you might have. Even if they
don't work perfectly, it might give someone else and idea of how to take it
one step further.

DavidF
 
R

Rob Giordano \(Crash\)

problem is there's a whole LOT of absolute positioning created by vml.

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





| Thanks Rob. I agree that if one has to edit the code manually each time a
| page is changed, it isn't going to be very practical, but at least there
| will be a way.
|
| It looks like Mike may have found a way that will work, but I haven't
tested
| it yet. If it works out then my hope is that someone can then take it one
| step further, and come up with perhaps a small CSS code snippet that can
be
| inserted via the insert code fragment tool, that would over ride the code
| written in Publisher. This would be more practical than editing the code
| manually. As an example:
|
| <style>
| a{text-decoration:none}
| </style>
|
| This code snippet works well in Publisher. Can you come up with something
| like this that will result in the pages being centered?
|
| I just wish we could get MSFT to build this feature into Publisher. As
Mike
| points out, it is certainly possible as his code ideas come from Serif
| WebPlus which gives the user the option to center the page.
|
| BTW, congrats on your new title...
|
| DavidF
|
| | > Yep.
| > Finally got 2007 installed...pretty nice. Makes it real easy to put
| > together
| > a web.
| >
| > On the centering issue...I think it can be done but would take an
| > extraordinary amount of tweeking. I'm gonna play with it some more when
I
| > have time, but I think the solution (if there is one) will be
impractical.
| >
| > --
| > ~~~~~~~~~~~~~~~~~~
| > Rob Giordano
| > Microsoft MVP Expression
| >
| >
| >
| >
| >
| > | > |I know what you are saying, but when you do get Pub 2007 installed you
| > will
| > | probably find that the default setting is in inches. After all, it is
a
| > DTP
| > | ;-)
| > |
| > | Older versions of Publisher, such as Pub 2000 did not have the pixel
| > option.
| > |
| > | DavidF
| > |
| > message
| > | | > | > print metrics should not be used on the web.
| > | >
| > | >
| > | >
| > | > --
| > | > ~~~~~~~~~~~~~~~~~~
| > | > Rob Giordano
| > | > Microsoft MVP Expression
| > | >
| > | >
| > | >
| > | >
| > | >
| > | > | > | > | Hat Man,
| > | > |
| > | > | Thanks for the effort, but first of all, go to tools > options and
| > you
| > | > can
| > | > | change the default measurements from inches to pixels in 2003 and
| > | > | 2007...unless you prefer to work in inches. This might make it
| > easier
| > to
| > | > | determine the size of your logos and art work that you develop in
| > | > Publisher
| > | > | for your DW sites.
| > | > |
| > | > | I did look at the page you created, but like Mike's it seems that
| > your
| > | > | approach center the content on a full size browser window at ~1260
| > | > pixels
| > | > | wide, does it center the content if the browser window is smaller
| > than
| > | > that?
| > | > | It doesn't seem to. It seems that the content placement is still
| > | > "absolute",
| > | > | not "relative" to the size of the browser window. Doesn't DW have
| > the
| > | > option
| > | > | of centering your page content on any size window?
| > | > |
| > | > | The challenge seems to be is to find some way to change the
| > "absolute
| > | > | positioning" of Publisher 2003 and 2007 web pages to "relative
| > | > positioning"
| > | > | just as you can achieve in DW, and as Don can achieve with the
| > <center>
| > | > tags
| > | > | in a Pub 2000 web page, and as Mike and Rob can with the software
| > they
| > | > use.
| > | > |
| > | > | <grin>I just assume everybody knows more about coding than I do.
And
| > | > don't
| > | > | worry about causing a debate. I appreciate the opportunity to
learn
| > from
| > | > | people that use other software to build their websites. My
knowledge
| > of
| > | > | other web building software is also pretty limited. Thanks.
| > | > |
| > | > | DavidF
| > | > |
| > | > |
| > | > | "The Hat Man Ireland" <[email protected]>
| > wrote
| > | > in
| > | > | message | > | > | > 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.
| > | > | >
| > | > | >
| > | > | >
| > | > | > "DavidF" wrote:
| > | > | >
| > | > | >> 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
| > | > | >>
| > | > | >>
| > | > | >>
| > | > | >> "The Hat Man Ireland"
| > <[email protected]>
| > | > wrote
| > | > | >> in
| > | > | >> 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
| > | > | >> >>
| > | > | >> >>
| > | > | >> >>
| > | > | >> >>
| > | > | >> >> "Rob Giordano (Crash)" <[email protected]>
wrote
| > in
| > | > | >> >> 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
| > | > | >> >> > |
| > | > | >> >> > | "Rob Giordano (Crash)" <[email protected]>
| > wrote
| > | > in
| > | > | >> >> > 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
| > | > | >> >> > | > |
| > | > | >> >> > | > | "Rob Giordano (Crash)"
| > <[email protected]>
| > | > wrote
| > | > | >> >> > 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
| > | > |
| > | > |
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
T

The Hat Man Ireland

It's me again...
If Mike is still around....
What is it with Mozilla, or IE for that matter?
I've just viewed your valleycats/test4. In IE: It is slightly left of
certre, Right? In Mozilla: it's slightly left of centre with blank picture
boxes (frames - whatever).
I then viewed my own site (thehatmanirelandireland.com) in Mozilla only to
find it's not right (or whatever (whatever=words to that effect...)).
It's true what they say, "the more one thinks they know about the computer,
the more they realise the little they know".
Some of the following comments may sound like the pupil teaching the tutor
but after all this is a forum and not a telephone conversation so it's
difficult to be aware of each other abilities. I'm going to continue anyway..
As far as I know, viewers with small monitors/screens must scroll across to
view a CENTRED web page. These viewers must get a pain in the *** trying to
view a fully utilised page and I think this is why Publisher's templates are
760pxs and 'LOCKED' (now the biggest subject on this thred) to the left.
I notice a lot of 'talk' about different page widths (1058 etc.). I size my
blank web pager (Pub) at 1258px. This is the exact size I dicovered that
eliminates the appeareance of the horizintal scroll bar (am I right; the
bottom bar...) when I view in browser. To me this means that my BLANK web
page in now centred (on my screen anyway). I then insert a 249px. text box to
the very definitive left of my page.
I fill with white (site background is white). This (to me) makes it an
active part of the site, I then insert my 760px text box to the right of the
first box and work away within.
But I guess you guys new this already!!!
Anyway, just for the fun of it, I've done up another site at
www.ahat4u.com
It looks fine in IE, but Mozilla...forget it.
Best wishes to all,
The Hat Man
 
M

Mike Koewler

The plurality of viewers use a screen resolution of 1024 pixels wide, so
if they view your web site, they will get a scroll bar. The second most
popular resolution is 800x600; about 30-35 percent. (1024 is about 40-45
percent).

How wide your monitor is doesn't really make that much difference - it's
the display resolution. My 19 inch monitor can be set to 800, 1024,
1260, 1600, whatever resolution I want. Your pages appear centered and
without a scroll bar in your viewer based on your screen settings. That
doesn't mean everyone will get the same results.

My example (I just used some text and a couple of filled rectangles,
published it, copied the source code, pasted it into Notepad, edited the
line regarding position and saved as an HTML file) is probably a little
off absolute center. I should have used position:relative;width;756px
instead of 743. My goal was just to see if I could alter the way the
pages are displayed. It looks the same in IE as Mozilla - centered when
viewed with a monitor running a 1024 resolution.

One reason why some Pub pages look so different in IE and Mozilla (or
Opera) browsers is basically because Pub does not write W3C standard
code and/or IE doesn't follow how that code is displayed. This is why it
is imperative to download and view web pages in all three browsers (and
also AOL's as it also doesn't adhere to all the rules) before publishing
it.

I also highly recommend any serious web master download Deep Log
Analyzer (it's free, at least the basic version) and add code to their
web pages. Log files can then be downloaded and analyzed so the designer
can see the resolutions viewers are using, as well as the browsers. You
can snip out the portion of the generated code so there is no DLA logo.
The code itself goes in a HTML fragment that can be placed on the page,
even behind another object. I place it on a Master Page, but WebPlus
doesn't have problems with MPs like Pub does.

You can also get valuable info such as entry pages, exit pages, unique
visitors, total visitors, search engine phrases, referring pages, etc.
If you are doing a site just as a hobby, this is probably overkill. But
if you have a commercial site, it should be mandatory.

I also highly recommend viewing your pages at different resolutions, at
least when it is first designed. It's easy enough to switch back and
forth but it will give you an idea of how it looks, even on hand-held
devices. (yes, there is a free download for one of those also!)

Mike
 
D

DavidF

Yeah...there is a whole lot of everything in Publisher code ;-)

However, if you look at Mike's solution, there does seem to be one line of
"absolute positioning" code that dictates the placement in a browser window.
The rest seem to dictate the positioning within the body of the page...if I
am using the correct phrasing. If Mike's solution tests out, then at the
least we should be able to use ReplaceNfile to make the code change, and
save a little time.

It just would be great if there was some CSS code that could be inserted
into the page that would automagically make the change. I don't expect you
to spend a lot of time on this, but as you seem to be just about the only
person with some expertise in that area, I just thought I might challenge
you };>)

After all it took an expert with Serif Webplus to get this far...<grin
again>

Thanks.

DavidF
 
D

DavidF

If I might add to what Mike said, the size and resolution of your monitor is
not the real point here. The point and the goal here is to have your page
center in the browser window, what ever size it is. Yes, if you are using an
old monitor, or perhaps a laptop with a smaller screen, the screen size does
matter, but only to the extent of the maximum size browser window possible.

To illustrate, go back again and look at Mike's most recent test at
http://www.valleycat.net/test4.html
Now, instead of maximizing the browser window on your monitor, grab the
window and resize it. Notice how the content shifts to try to stay in the
center of the browser window. That is variable positioning.

What you have described is still absolute positioning, and is done in a
similar way as the suggested workaround has been until we started trying to
figure out how to achieve variable centering. Reference this article:
Understanding background padding in a Publisher web (aka white space):
http://msmvps.com/blogs/dbartosik/archive/2006/01/07/80563.aspx
This approach, and yours give a "simulated" centering of the content of the
page, which for some people is sufficient. However, if you build your page
wider than the users monitor can view, then you can still end up scrolling.

Personally, I see absolutely nothing wrong with left justified, absolute
positioned sites. In fact, I think I prefer them, but if one is going to use
a centered site, then I would like it to at least be relative positioning.
The reason is my way of using a browser. I tend to look at sites in a
browser window that is only about 750 pixels wide, and rarely maximize a
window. The reason...I open a lot of windows, and like to click between
them. I can put a number of 750 pixel wide windows on my 19" monitor, and
easily see and read several at a time. And why 750? Cuz 750 pixels will
usually display the content I want to read without the extra stuff on the
page. If you try it with a site that has google ads on the right side of the
screen for example, you get all the content of the page, but not the ads.
Yes, there will be a scroll bar, and if you are interested in what is one
the right side of the site, you can scroll over, but I usually find that
unnecessary. At worst I scroll over to put the middle column of the site in
the middle of my window, and then I can read the content I am interested in
without further scrolling. But that is just me...

Anyway, that's my view....so to speak ;-)

DavidF
 

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