【发布时间】:2017-08-20 12:42:49
【问题描述】:
here is the link to the border
谁能帮我复制那里使用的边框?我为单选按钮编写了代码,它们可以工作,但我只是不知道如何做那个边框,边框是如何在单词前后停止的?
任何帮助将不胜感激!
【问题讨论】:
标签: html css styles border radio
here is the link to the border
谁能帮我复制那里使用的边框?我为单选按钮编写了代码,它们可以工作,但我只是不知道如何做那个边框,边框是如何在单词前后停止的?
任何帮助将不胜感激!
【问题讨论】:
标签: html css styles border radio
您可以用<fieldset></fieldset> 标记包装您的单选按钮,用<legend></legend> 标记包装您的文本。
<form>
<fieldset>
<legend>Personalia:</legend>
Name: <input type="text"><br>
Email: <input type="text"><br>
Date of birth: <input type="text">
</fieldset>
</form>
【讨论】: