Website will not centre

P

PeterL

I am producing this web site www.mikewalshgroup.com/test and it looks fine
on my 21" widescreen but my client says it is not centered but off to the
right, what am I doing wrong? Never had this problem before. I am using
Front Page 2002, I have centred all tables and specified a width of 775
pixels.
 
M

Mark Fitzpatrick

You set the width of the main <div> element to be too big. Fixed width's
aren't a good idea because it will center according to the width of the
parent container. You could remove the <div> entirely actually and the table
itself should center just fine.

Another thing to be aware of. You're using a Java applet in your page. Keep
in mind that very few people nowadays have a Java Virtual Machine (JVM)
installed on their computers. A JVM is required to run Java applets and
programs. Because of the Sun vs. Microsoft lawsuit a number of years ago,
Microsoft is prevented from shipping a JVM with it's products. Java adoption
on the desktop isn't what it was expected to be also so as many people have
a need to install it. You may want to find an alternative to the applet that
uses JavaScript or Flash.
 
P

PeterL

Mark Fitzpatrick said:
You set the width of the main <div> element to be too big. Fixed width's
aren't a good idea because it will center according to the width of the
parent container. You could remove the <div> entirely actually and the
table itself should center just fine.

Another thing to be aware of. You're using a Java applet in your page.
Keep in mind that very few people nowadays have a Java Virtual Machine
(JVM) installed on their computers. A JVM is required to run Java applets
and programs. Because of the Sun vs. Microsoft lawsuit a number of years
ago, Microsoft is prevented from shipping a JVM with it's products. Java
adoption on the desktop isn't what it was expected to be also so as many
people have a need to install it. You may want to find an alternative to
the applet that uses JavaScript or Flash.
That worked, I much appreciate your help.
 
A

Andrew Thompson

(PeterL - applet)

Make it free floating, and let the customer put it wherever
they like.. said:
Another thing to be aware of. You're using a Java applet in your page. Keep
in mind that very few people ..

..nowadays have a Java Virtual Machine (JVM)
installed on their computers.

...80%+ of the *rest* of us, have Java installed (as opposed
to MS' obsolete, insecure, poor excuse for Java).

Andrew T.
 

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