Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
checkbox inside a fieldset table as below

ASP
<%@ Page Title="" Language="C#" MasterPageFile="~/Inner.Master" AutoEventWireup="true"
    CodeBehind="Permission.aspx.cs" Inherits="Etranscribe.Contents.USERS.ADMIN.Permission" %>

<%@ Register Src="~/Contents/UserControls/Header.ascx" TagName="HeaderControl"
    TagPrefix="uc1" %>
<%@ Register Src="~/Contents/UserControls/Footer.ascx" TagName="FooterControl"
    TagPrefix="uc1" %>


    

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
       
    .chkChoice input 
   { 
       margin-right: 30px; 
   }
    
   
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<fieldset>
   <legend>Fax </legend>
       <table border="0" width="100%">
               <tr>
                <td>
                    <asp:CheckBox ID="ChkBoxFaxSearch" runat="server" CssClass="chkChoice" Text="Fax Search" onClick="SetUserTypeCheckBoxValues(this)" />
                </td>
               </tr>
</table>
</fieldset>
</asp:Content>


space between checkbox and text can see in design view, but not in run time.how to solve this?

i checked by clear the cache.but not working

Thanks.
Posted
Updated 26-Mar-13 22:19pm
v2
Comments
Monster Maker 27-Mar-13 3:39am    
May be the browser problem!!
hasbina 27-Mar-13 4:14am    
no.i checked it..
sri senthil kumar 27-Mar-13 4:22am    
Apply the class to parent node of the element and check. We cannot judge webUI from design view, it wont display correct result always.
hasbina 27-Mar-13 4:31am    
sir, i checked it by apply css for fieldset.but not working
sri senthil kumar 27-Mar-13 4:34am    
You want space b/w check box and "Fax Search" Text ?

1 solution

You can add &nbsp; in between them. It is a non breaking space and will cause a space to show up. In the web, spaces in design view are not necessarily spaces in html so when you need a space you can use &nbsp;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900