Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 Web 应用程序(Visual Studio 2010)中,复选框没有在同一行显示它的文本。请帮我。我正在附上一个示例图像。!
试试这个方法
html
<asp:CheckBox ID="chkNotify" Text="Name" runat="server" CssClass="checkboxlist_nowrap" RepeatLayout="Table" />
和CSS样式
.checkboxlist_nowrap label { display:inline; }