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.

Bob

-----Original Message-----
From: C Kong [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 6:36 PM
To: CF-Talk
Subject: "squished" table phenomenon - please help!


ok all you html and cf masters....i'm writing some code for what will be an
eventual cf form and i'm starting off with a table with radio buttons (see
below for coding).....my problem is that when i reduce the area of my
browswer field, the table gets all contorted or "squished" together to
accomodate the reduced browser area.  my question is how do i get "fix" my
table to stay one size and not change????

i don't believe it is a browser problem since i have done this with both N6
and IE and the same "squished" phenomenon happens when i reduce the size of
my broeswer firld.....i have a feeling tha tit has something to do with my
coding but have not a clue where to start....

can anyone please take a gander at my code and let me know what you think

thank you so much in advanced!

colin


<TABLE Border Width =50% CellSpacing=4 Cellpadding=5>
 <TR>
  <TH Colspan=2><Font Size = 4>Vehicle Options</font>
 </tr>


 <TR>
   <TD Align = Center><B><P>Sun Roof<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="sroof"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="sroof"></P></td>
   <TD Align = Center><B><P>ABS<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="abs"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="abs"></P></td>
 </tr>

 <TR>
   <TD Align = Center><B><P>CD Player<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="cd"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="cd"></P></td>
   <TD Align = Center><B><P>4 Wheel Drive<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="4wheel"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="4wheel"></P></td>
 </tr>

 <TR>
   <TD Align = Center><B><P>Air Conditioning<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="ac"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="ac"></P></td>
   <TD Align = Center><b><P>Power Windows<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="pwindows"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="pwindows"></P></td>
 </tr>

 <TR>
   <TD Align = Center><B><P>Power Locks<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="plocks"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="plocks"></P></td>
   <TD Align = Center><B><P>Leather Seats<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="leather"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="leather"></P></td>
 </tr>

 <TR>
   <TD Align = Center ><B><P>Automatic Transmission<BR></b>
 Must Have<INPUT TYPE="radio" VALUE="yes" NAME="autotrans"
 CHECKED="true">Would Like<INPUT
 TYPE="radio" VALUE="yes" NAME="autotrans"></P></td>

 </tr>
 </table>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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

Reply via email to