I have an element input[type="radio"]
inside a fixed width container container. Supporting text for an element <input/>
does not fit on one line and falls to two or more lines. For example:
<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>
CSS
div.leftBlock {
position:relative;
float:left;
width:275px;
}
How could I style an element <input/>
(or its text) so that every other line that the text came up with begins at the same level of indentation as the first line? The first line of text should be at the same vertical level as the element <input/>
.
Any help would be greatly appreciated.
source
share