私は大きなDIVで3つの入力フィールドを持つようにしたいので、私はChromeで表示されるFirefoxの入力フィールドの間にスペースを確保するにはどうすればよいですか?
<input type="text" name="first_name" id="first_name" placeholder="First Name" class="searchField" style="width:23%" />
<input type="text" name="last_name" id="last_name" placeholder="Last Name" class="searchField" style="width:23%">
<input type="text" name="event" id="event" placeholder="Event" class="searchField" style="width:40%">
を持っていると私は入力
.searchField {
display: table-cell;
line-height: 40px;
font-size: 22px;
margin: 0;
vertical-align: middle;
padding: 5px;
border: 1px solid #ccc;
box-sizing: border-box;
-webkit-appearance: textfield;
background-color: white;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
text-align: start;
}
ためのこれらのスタイルは、しかし、私はChromeで気付いてきた私は、それぞれの間にスペースを取得します私が好きな入力フィールドですが、Firefoxはそのようなスペースを持っていません - https://jsfiddle.net/4sjxum1k/12/。 Chromeに悪影響を与えずに、Firefoxの入力と入力の間にスペースを表示するにはどうすればよいですか?
ブレークを追加すると、すべてがdifferentnt行に表示されます。これは、私が望まないものです - https://jsfiddle.net/4sjxum1k/17/。 –