|
Posted by Harlan Messinger on January 18, 2007, 11:34 pm
Please log in for more thread options
dmitry sychov wrote:
> Hello,
>
> There should be no red lines - and Mozilla does not display them
> but IE does...
> <input> should take the whole space of its parent element
> (<div>)
>
> Any 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">
Width is 100% but size is 20? You're contradicting yourself.
On a separate note, if you're going to use CSS, use CSS. Get rid of the
BRs and set margins.
> </div>
>
> <br><br>
>
>
> Thank you, Dmitry
>
|