Post by Sarah Austinhttp://www.coloradoprocessservers.net
That page makes extensive (if not exclusive) use of "position:absolute".
As such, the content goes where you've told it to go. That's why adding
"margin: 0 auto" in the <head> had no (useful) effect.
If I'm reading your HTML right, the following WON'T solve your problem (in
fact, the result will look worse on narrow screen widths), but will be a
useful test. It should move the content of your page rightward by 10% of
the screen width size ALWAYS (even when the content is wider than the
page):
* remove the entire style directive in the <head>
* change the very first <div align=center> to:
<div style="position:relative; width:80%; margin:0 10%">.
The real problem is that (nearly?) all your web page content is
position:absolute, usually with width=<#pixels>. That won't center or
adapt. Using width:x%, or replacing use of position:absolute with
float:left or float:right would make the page better able to adapt to
different screen widths.
The other side effect of position:absolute content is that it is defined
*NOT* to affect the layout/width of its parents. Thus, the
<div width="80%"> in the test above is basically an EMPTY box, unaffected
by your content. The empty box will always fit within the screen width
and be centered, even when the position:absolute content is wider than
the screen width.
Summary: making centering look nice will take some work (if done by hand),
or maybe there's an option in your web page design program to not use
position:absolute.
HTH,
-WBE