Joe: Div -> Form -> Style

Hallo,

ich hab ein kleines Problem:

<div class="search">
  <div>
    <form><input type="text" / value="SEARCH"></form>
  </div>
</div>

STYLE:
.search {
 position:relative;
 top:10px;
 padding : 0px;
 background-color:red;
}
form {margin:0px;}
input{border:0px;background-color:#CFE0F4;}

IE und MOZ interpretieren das unterschiedlich. Der IE macht über und unter dem Feld ein Pixel abstand. Beim Mozilla sitzt das Feld perfekt im Div.

Jemand eine Idee??

  1. Hi Joe!

    IE und MOZ interpretieren das unterschiedlich. Der IE macht über und unter dem Feld ein Pixel abstand. Beim Mozilla sitzt das Feld perfekt im Div.

    Wozu brauchst du die Divs? Reicht nicht nur das Formular?

    Jemand eine Idee??

    Du machst keine Angaben über alle Innen- und Außenabstände. Ändere das.

    MfG H☼psel

    --
    "It's amazing I won. I was running against peace, prosperity, and incumbency."
    George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
    Selfcode: ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)