Restrict Table Width
Posted on 2004-10-20
This could well be a question not asked before as it is only recent that monitor sizes could become an issue.
Is possible to restrict a table width to x% subject to a maximum pixel width.
The question here may not be clear so consider that 1 pc monitor is of 15' and another is of 23'. In the case of the 15' monitor having a table width of 95% would result in a page without scroll bars as the table would be lengthened instead. However, in the case of the 23' monitor, the contents of the table could become unacceptable. Now, should the table width be set in pixels and the page viewed on a small monitor or one where the history pane remains visable, where pixels have been specified to determine width, this again results in scroll bars. Hence, is possible to restrict a table width to x% subject to a maximum pixel width.