Monday 28 July 2014

Radio buttons and label to display in same line

HTML

 <fieldset style="width:100%"><legend>Duplicates</legend>
                <asp:RadioButton runat="server" ID="rbtn_over" GroupName="Imp" Text="Overwrite" style=" display:inline;" />
               <br /><br />
                <asp:RadioButton runat="server" ID="rbtn_skip" GroupName="Imp" Text="Skip" />               
                
                <br /><br />
                <asp:CheckBox runat="server" ID="chk1" Text="Checkbox1" />
                <br /><br />
                <asp:CheckBox runat="server" ID="CheckBox1" Text="Checkbox1" />

                </fieldset>



//CSS

input[type=radio], input.radio { float:left; clear:none; margin: 2px 8px 0 2px; }
input[type=checkbox], input.checkbox { float:left; clear:none; margin: 2px 8px 0 2px; }


//Result




No comments:

Post a Comment

Excel Sort values in ascending order using function TEXTJOIN

 Excel ::  Text ::  1,3,5,2,9,5,11 Result :: 1,2,3,5,5,9,11 Formula ::     TEXTJOIN ( ",",1,SORT(MID(SUBSTITUTE( A1 ,","...