Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下代码<asp:RadioButton runat="server" Text="Male"></asp:RadioButton> 我想要单选按钮和单选按钮文本之间的间隙,我在文本字段中进行了以下更改(前缀为空格)Text=" Male"。但是,我不认为这是最有效的方法。更好的出路?
<asp:RadioButton runat="server" Text="Male"></asp:RadioButton>
Text=" Male"
使用 CSS:
input[type="radio"] { margin-right: 5px; }