Width Limited/Printer Friendly/Auto Centering Table

This table will expand until the browser reaches a width of 775* pixels. In browsers that are expanded beyond 775 pixels wide, the table will center itself on the page. This has several formatting advantages:

  • Horizontal scroll does not occur on the page (until the width gets below a set point**)
  • The page will print without getting cut off on the right side (a common problem on browser pages that have been designed for fixed 800x600 and higher resolutions)
  • Excessively long line lengths, which are difficult to read, are avoided since the text stops expanding at a fixed point (in this case at 775 pixels)

*width of 775 pixels chosen arbitrarily for this example
** set point in this example is set by using the NOSCROLL option on the title line