travisowens
Well-known member
Resolved... I simply needed to use RepeatDirection="Horizontal"
I have a RadioButtonList and even when I do RepeatLayout="Flow" its output <br> tags that I cant override with Display: inline;
which outputs
How can I get these radio buttons to align side by side?
I have a RadioButtonList and even when I do RepeatLayout="Flow" its output <br> tags that I cant override with Display: inline;
C#:
<asp:RadioButtonList ID="DistanceBW" runat="server" CssClass="RadioGrid" RepeatLayout="Flow">
<asp:ListItem Value="20ft" Text="" />
<asp:ListItem Value="21ft to 40ft" Text="" />
<asp:ListItem Value="41ft to 60ft" Text="" />
</asp:RadioButtonList>
which outputs
C#:
<span id="ctl00_Content_DistanceBW" class="RadioGrid">
<input id="ctl00_Content_DistanceBW_0" type="radio" name="ctl00$Content$DistanceBW" value="20ft" /><br />
<input id="ctl00_Content_DistanceBW_1" type="radio" name="ctl00$Content$DistanceBW" value="21ft to 40ft" /><br />
<input id="ctl00_Content_DistanceBW_2" type="radio" name="ctl00$Content$DistanceBW" value="41ft to 60ft" />
How can I get these radio buttons to align side by side?
Last edited by a moderator: