At 06:51 PM 12/11/00 -0500, you wrote:
>If you use a numeric width rather than a percentage width, it will always
>stay the same size.
>
>Try changing your table tag to:
>
><TABLE Border Width=400 CellSpacing=4 Cellpadding=5>
>
>Which will always render the table as 400 pixels wide.
>
>Of course, your users might have various settings that will still make your
>table look bad (like a really large font size), but your table won't resize
>itself anymore.
Well, but you can accommodate different browser widths (and somewhat
compensate for huge fonts) by putting a spacer image the minimum width that
you want the table and leaving the table at a percentage width. So lets say
that you want the table 400 pixels wide, you make a clear 1x1 pixel image
and you declare it in the table with a width of 400 pixels. You leave the
table at 50% width. If 50% is less than 400 pixels, the table is 400 pixels
wide. If 50% is more than 400 pixels, it will be 50% wide.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists