我input[type="radio"]
在固定宽度的块容器中有一个元素。元素的支持文本<input/>
不能容纳在一行中,而是包含两行或更多行。例如:
div.leftBlock {
position: relative;
float: left;
width: 275px;
}
<div class="leftBlock">
<input type="radio" name="foo" value="bar" id="option" /> This is a rather long supporting text that does not fit in one line.
</div>
我如何能够设置<input/>
元素(或其文本)的样式,以使文本落入的每一行都以与第一行相同的缩进级别开始?第一行文本必须与<input/>
元素处于同一垂直水平。
任何帮助都感激不尽。