Hi guys, I am trying to create a HTML form, and I am floating the labels left, and the inputs right, now in FF it works fine and in IE8 as well, but when I go over to IE7, the line breaks seem to dissapear completely, I have NO space in between my elements, what could it be?
How can I fix it?
<p>
<span class='left'><label for='gender'>Gender: </label></span>
<span class='right'><select name='gender' id='gender'>
<option>Select one</option>
<option>Male</option>
<option>Female</option>
</select>
</span>
</p>
<br />
<p>
<span class='left'><label for='name'>Name: </label></span>
<span class='right'><input name='name' id='name' /></span>
</p>
<br />
Now for some reason I have NO space in between the paragraphs in IE7 even though I am using breaks.
Thanx in advance.