For some reason in IE7 if the label is longer than the input tag below it it puts an extra line break unless I define display as "inline-block" in the css file. This works fine in FF3. I've tried defining display as inline and it puts the extra line break in.
Here is the XHTML:
<input type="text" id="SeparationDateTxt" name="SeparationDateText" value="<% Response.Write(Session("varSeparationDate")) %>" size="10" />
The css is:
It doesn't matter where it is on my form, if the label is longer it puts the extra break in. Any ideas on why it does this?
An example of what it looks like in IE vs FF: