Checkbox Controls Wraps !


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Checkbox Controls Wraps !

  1. #1
    Join Date
    Jun 2004
    Posts
    288

    Checkbox Controls Wraps !

    Don't know why the controls not given the default properties right?

    How can I make the below given checkbox stay in a single line. It shows the checkbox on the first line and the text in the next.

    <tr>
    <td>
    <asp:CheckBox ID="cbYes" runat="server" Text="Yes"> </asp:CheckBox>
    </td>
    </tr>

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Make the table cell wider.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Jun 2004
    Posts
    288

    no luck

    The cell has very high width already !

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387

    Cannot reproduce

    I cannot reproduce the behavior you describe. This code:
    Code:
    <form id="MyForm" runat="server">
       <table>
          <tr>
             <td>
                <asp:CheckBox id="cbYes" runat="server" Text="Yes"></asp:CheckBox>
             </td>
          </tr>
       </table>
    </form>
    produces the output in the attached screenshot. What are you doing differently?
    Attached Images Attached Images
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  5. #5
    Join Date
    Jun 2004
    Posts
    288
    I use style sheet and master page. May be it is inherited from it then.

Similar Threads

  1. Creating controls dynamically:Urgent
    By sudha_baskar in forum ASP.NET
    Replies: 0
    Last Post: 07-18-2006, 06:51 AM
  2. Checkbox in gridview
    By whygh in forum ASP.NET
    Replies: 0
    Last Post: 07-04-2006, 05:38 PM
  3. Replies: 2
    Last Post: 08-01-2005, 04:12 PM
  4. Checkbox Controls
    By jobartley515 in forum VB Classic
    Replies: 3
    Last Post: 07-30-2005, 03:57 AM
  5. ANN: .Net Compact Framework Controls
    By Keith in forum dotnet.announcements
    Replies: 0
    Last Post: 06-15-2003, 08:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center