Website will not centre

  • Thread starter Thread starter PeterL
  • Start date Start date
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.
 
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.
 
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.
 
(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.
 
Back
Top