I have multiple lines im my html document, each of which is floating to the left. But my second line is not properly aligned to the left -- rather hard to explain, better just check out code and jsfiddle:
https://jsfiddle.net/0j8kd4c3/
<html>
<head>
<style>
label, input[type=text], button {
float: left;
}
</style>
</head>
<body>
<label for="input1">LABEL 1</label>
<input id="input1" type="text" />
<button type="button">BUTTON</button>
<br />
<label for="input2">LABEL 2</label>
<input id="input2" type="text" />
<br />
<label for="input3">LABEL 3</label>
<input id="input3" type="text" />
</body>
</html>
Wrapping up line one in a div
container doesn't help, so what can I do?
Note that it's again working for line 3, which confuses me.