asp.net - I have label and radiobutton list in table cell, but it displays up-down not in single line -
i have label , radiobutton list in table cell, displays up-down not in single line.
<asp:tablecell horizontalalign="left" width="65%"> <asp:label id="lblgatepass" text="select gatepass type :" runat="server" cssclass="pclabel" /> <asp:radiobuttonlist id="rblio" cssclass="radiobuttonlist" onselectedindexchanged="radiobuttonlist_onselectedindexchanged" autopostback="true" runat="server" repeatdirection="horizontal" forecolor="white" backcolor="#073957"> <asp:listitem value="1" text="inward"></asp:listitem> <asp:listitem value="2" text="outward"></asp:listitem> </asp:radiobuttonlist> </asp:tablecell>
why can't seek one?
<table> <tr> <td> <asp:label id="lblgatepass" text="select gatepass type :" runat="server" cssclass="pclabel" /> </td> <td> <asp:radiobuttonlist id="rblio" cssclass="radiobuttonlist" onselectedindexchanged="radiobuttonlist_onselectedindexchanged" autopostback="true" runat="server" repeatdirection="horizontal" forecolor="white" backcolor="#073957"> <asp:listitem value="1" text="inward"></asp:listitem> <asp:listitem value="2" text="outward"></asp:listitem> </asp:radiobuttonlist> </td> </tr> </table> asp.net
No comments:
Post a Comment