Label and input are organized in a form item (as a row in a table). To accomplish the look and feel above, those two elements must be wrapped in a .dnnFormItem css selector.
You can use other types of label instead of dnnLabel. In this example, dnnLabel is in used to demonstrate the ability to load help content inside a tooltip.
<div class="dnnForm"> <fieldset> <div class="dnnFormItem"> <dnn:Label runat="server" ControlName="NameTextBox" Text="Name" HelpText="It's the name of the thing" /> <asp:TextBox ID="NameTextBox" runat="server" /> </div> </fieldset> </div>
©2016 DNN Corp. All Rights Reserved. Privacy Statement. Terms Of Use.