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; }