center html fragments on web page

D

Dick

Hi Everyone,
A year or two ago I asked this question. At that time there seemed to be no
answer. I was wondering if anyone has a solution to centering htm or html
fragments on their web page, when published. I am speaking about search
engines and such things. My search engines want to go to the sight side of
the page. I realize few people go to the bother to center, but I would like
to be able to do so on my web page. It is called "Life of Christ Ministry".
If you want to see what I mean here is my URL:
http://users.losch.net/~bushr/index.html
 
D

David Bartosik - MS MVP

Publisher 2000 and 2002 are as different as night and day with regards to
web design. Anyone that has been with this newsgroup for a bit or read any
of the documentation on my web site knows that.
Visit my sites 2002 section and read the first article.

--
David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx
 
D

David Bartosik - MS MVP

Centering in 2002 is very difficult if possible at all. This is due to the
use of CSS 2 with absolute positioning. (see www.w3c.org) and in fact the
use of the center tag is deprecated.
Looking at your sites code I see you are using 2002 in it's original state
which is a big mistake. You need to load Service Packs 1 and 2 asap. See my
sites 2002 section for details.
Once you resave your pages in 2002 SP 2 you'll probably see some difference
in the output. As for code fragments, those are coded relative to where you
put the fragment box on the page. Draw the fragment in the center of the
page and you should get the output close to that. That said it's not quite
that simple it does depend on the code in the fragment and the code outside
the fragment.
Looking at your code I think you care using a center tag in the fragment, I
suggest removing that as all it does is center the search box inside the
table cell, it has no effect on the centering on the table or cells.

--
David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx
 
D

Dick

Thank you David. I have installed Service Pack 1 and ordered Service Pack 2
CD since it is 50 mb and will take too long to download on dial up. However
it is back ordered, so who knows how long I will have to wait. If anyone has
one I would be most appreciative to receive it.
 
D

Dick

David,
Since I wrote to you I was able to download and install Office 2002 Service
Pack 2. I discovered it was only about 15mb. Microsoft sent me a note saying
they had shipped the CD. Thank you for your generous offer, but I will not
be needing it, at least not at this time.
Sincerely & thanks,
Dick
 

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