gpt4 book ai didi

html - 无法对齐单选按钮列表

转载 作者:行者123 更新时间:2023-11-28 06:36:39 25 4
gpt4 key购买 nike

我无法将单选按钮列表与上面标签的左侧对齐。这是代码

  <div style="border-radius: 10px;">
<div style="margin-bottom: 10px"></div>
<asp:Panel ID="panel" runat="server">
<div style="padding-left: 10px" >
<asp:Label ID="lbl" runat="server" Text="Select criteria" />
<asp:RadioButtonList ID="radio" runat="server" AutoPostBack="True" OnSelectedIndexChanged="radio_SelectedIndexChanged" RepeatDirection="Horizontal" />
<asp:Label ID="lbl1" runat="server" Text="Value"></asp:Label>
<br />
<asp:TextBox ID="txt" runat="server"></asp:TextBox>
<asp:Label ID="ScoreMethodLabel" runat="server" Text="Score"></asp:Label>
<asp:DropDownList ID="dropscore" runat="server" />&nbsp;
</div>

</asp:Panel>
<br/>
</div>

这是我看到的输出

enter image description here

您看到选项按钮没有完全对齐在名为“选择条件”的文本下方

最佳答案

尝试 margin:0

* {
margin: 0;
}

input[type=radio] {
margin: 0;
}

关于html - 无法对齐单选按钮列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34631791/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com