gpt4 book ai didi

html - 如何使 RadioButtonList 在表格单元格中居中

转载 作者:太空宇宙 更新时间:2023-11-03 19:00:04 25 4
gpt4 key购买 nike

这应该很容易。你如何使单选按钮列表居中?过去并不难。下面的 HTML 不起作用。我错过了什么?

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="width:100%">
<tr>
<td style="text-align: center">
<asp:RadioButtonList ID="radUserType" runat="server"
RepeatDirection="Horizontal">
</asp:RadioButtonList>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>

最佳答案

RepeatLayout="流"

在跨度而不是表格中呈现 RadioButtonList。

关于html - 如何使 RadioButtonList 在表格单元格中居中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12320117/

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