css - Incorrect vertical alignment in IE8 -


the default text in search box looks fine in chrome, ff, , safari (vertical-align: middle).

however, default text rises top of search box in ie 8.

is there workaround ie? help.

html:

<input type="text" class="text" value="search" title="search" /> 

css:

.text {     height: 47px;     font-size: 18px;     margin: 0;      padding: 0 5px 0 45px; } 

have tried setting line height match height of text box? text should automatically appear in middle of line


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -