Forum Moderators: open

Message Too Old, No Replies

* IE Bug * after setting <input>'s margin to 0 it is still non zero

sample provided

         

cyclinder

5:37 pm on Jan 18, 2007 (gmt 0)

10+ Year Member



There should be no red lines - and Mozilla does not display them
but not IE...

<input> should take the whole space of its parent element
(<div>)

No workaround?

<br><br><br><br>

<div style="background:#FF0000; padding:0px; margin:0px; border-width:0px;width:100px">
<input style="border-width:0px; background:#AAAAFF; width:100%; padding:0px; margin:0px" size="20">
</div>

<br><br>

iseem

8:50 am on Jan 19, 2007 (gmt 0)

10+ Year Member



Try floating the input element.