HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Adding a radio button increases the colspan
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
Tim Neal



Joined: 05 Mar 2008
Posts: 3

PostPosted: Wed Mar 05, 2008 1:22 pm     Adding a radio button increases the colspan Reply with quote

I have a table set to colspan=4.
When I had 4 radio buttons, average text 8 letters, they all fit within the table. When I add another radio button (generate sales, below)the width of the table bleeds off to the right. Is there a way to maintain the table size, that is, trim the white space between the buttons and text?


Code:

<TR>
    <TD colSpan=4 style="BORDER-TOP: thin solid; BORDER-RIGHT-STYLE: double; BORDER-RIGHT-COLOR: silver"
   >
      <P align=left><FONT face=Arial size=2
      color=green><STRONG>Advertising Purpose</STRONG></FONT></P></TD>
    </TR>
  <TR style="BORDER-TOP: thin solid">
    <TD style="BORDER-TOP: silver thin solid">
      <P align=left><FONT face=Arial size=2><STRONG>
      <INPUT id=radAdProgram type=radio name=radAdProgram value="Client Facing">&nbsp;</STRONG>Client Facing</FONT></P></TD>
    <TD style="BORDER-TOP: silver thin solid">
      <P align=left><FONT face=Arial size=2><STRONG>
      <INPUT id=radAdProgram type=radio name=radAdProgram value="Education">&nbsp;</STRONG>Education</FONT></P></TD>
    <TD style="BORDER-TOP: silver thin solid">
      <P align=left><FONT face=Arial size=2><STRONG>
      <INPUT id=radAdProgram type=radio name=radAdProgram value="Internal Facing">&nbsp;</STRONG>Internal Facing</FONT></P></TD>
    <TD style="BORDER-TOP: silver thin solid">
      <P align=left><FONT face=Arial size=2>
      <INPUT id=radAdProgram type=radio name=radAdProgram value="Generate Leads">&nbsp;Generate Leads</FONT></P></TD>
    <TD style="BORDER-TOP: silver thin solid; BORDER-RIGHT-STYLE: double">
      <P align=left>
      <INPUT id=radAdProgram type=radio name=radAdProgram value="Generate Sales"><FONT face=Arial size=2
      style="BORDER-RIGHT-COLOR: silver">&nbsp;Generate Sales</FONT></P></TD>   
    </TR>
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8217
Location: Castle Rock CO USA

PostPosted: Wed Mar 05, 2008 3:50 pm     Reply with quote



If you change
Code:
colspan="4"
to
Code:
colspan="5"
does that help? You have 5 columns listed.

_________________
Corey
Toll Free Fax Numbers | Mile High Merchant Accounts | Expression Web Blog
Tim Neal



Joined: 05 Mar 2008
Posts: 3

PostPosted: Thu Mar 06, 2008 12:46 pm     Reply with quote

No, I tried that. I think a need to add a new table within a table.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8217
Location: Castle Rock CO USA

PostPosted: Thu Mar 06, 2008 2:02 pm     Reply with quote

It could be somewhere else in the code.

You might consider getting rid of those <p> elements - they are not really needed. It looks like you might be using Frontpage 2002 to generate the code?

_________________
Corey
Payment Processing Forums | Mile High Merchant Accounts | Expression Web Blog
Tim Neal



Joined: 05 Mar 2008
Posts: 3

PostPosted: Fri Mar 07, 2008 2:28 pm     Reply with quote

Nope. Visual Interdev 6.0
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial