I have a couple of placeholders in a form to hide / show fields depending on a boolean. My form controls are all laid out like the following, each contol is on it's own line and when output as html (afaik) should still be on it's own line.
I have found however when the controls in the placeholder are rendered they all squashed up with no whitespace in betweeen them. It seems the placeholder is removing the whitespace.
Is there any way to stop this.
<p><asp:labelID="lblSchool"AssociatedControlID="School"runat="server">School(ifapplicable):</asp:label><asp:TextBoxid="School"runat="server"MaxLength="50"/><asp:RequiredFieldValidatorID="reqSchool"runat="server"ControlToValidate="School"Display="Dynamic"CssClass="val-error"Text="* required"SetFocusOnError="true"/><bcg:NoPunctuationValidatorID="validSchool"runat="server"ControlToValidate="School"Display="Dynamic"MaxLength="101"CssClass="val-error"Text="* invalid"SetFocusOnError="true"/></p>
I have found however when the controls in the placeholder are rendered they all squashed up with no whitespace in betweeen them. It seems the placeholder is removing the whitespace.
Is there any way to stop this.