views:

243

answers:

2
+1  A: 

since you are using no reset css I would recommend a shortcut would be to change the margin to padding instead on the wrapper divs which will be consistent between browsers.

Not the best technique but simplest in your case.

Richard
I am amazed how much IE problems can be solved by altering paddings and margins. Thank you very much for help.
Jakub Šturc
+1  A: 

I think Richard has given you the correct answer, this seems to work:

<div style="float:left;padding:0.5em">
<span class="title">Label1</span><br/>
<input type="text" name="name1" size="8" />
</div>

The problem must be that IE is not applying the margin to the span tag but for some reason does apply the padding.

James Piggot