Android phonegap输入文本不工作位置:已修复

Android phonegap输入文本不工作位置:已修复,android,html,css,cordova,Android,Html,Css,Cordova,Android phonegap输入文本不工作位置:已修复 问题: 在英语中,输入填写其他语言​​不要。 但是如果你移除位置:固定在css中。顶部导航栏面板输入工作 头部: <meta name="viewport" content="user-scalable=no,initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=d

Android phonegap输入文本不工作位置:已修复

问题: 在英语中,输入填写其他语言​​不要。 但是如果你移除位置:固定在css中。顶部导航栏面板输入工作

头部:

<meta name="viewport" content="user-scalable=no,initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
.top-navbar-panel {
    height: 80px;
    width: 100%;
    position: fixed;
    top:0;

    background: #ff5050;
    background: -moz-linear-gradient(top, #fa4444 0%, #fa4444 #ec1212 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fa4444 ), color-stop(100%,#ec1212));
    background: -webkit-linear-gradient(top, #fa4444  0%,#ec1212 100%);
    background: -o-linear-gradient(top, #fa4444   0%, #ec1212 100%);
    background: -ms-linear-gradient(top, #fa4444  0%, #ec1212 100%);
    background: linear-gradient(to bottom, #fa4444  0%, #ec1212 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=' #f81e1e ', endColorstr='#ec1212',GradientType=0 );

    padding: 0px;
}
 <div class="top-navbar-panel">

        <ul>
            <li id="btn_all_discount" class="top-nav-active"> <img src="img/devices_logo_w.png" style="height: 50px;vertical-align: middle;margin-left: 9px;margin-top: -14px;margin-right: -18px;float: left;">  <span>All</span></li>
            <li id="btn_auth">Auth</li>
            <li id="btn_top_search" class="top-nav-search"><img src="img/ico_search.png" style="width: 100%; width: 65%;vertical-align: middle;"> </li>
        </ul>
        <div class="search_top_navbar_panel">
            <input  id="filter" name="search_top_navbar_panel" placeholder="Search..." type="search">
        </div>
    </div>
HTML:

<meta name="viewport" content="user-scalable=no,initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
.top-navbar-panel {
    height: 80px;
    width: 100%;
    position: fixed;
    top:0;

    background: #ff5050;
    background: -moz-linear-gradient(top, #fa4444 0%, #fa4444 #ec1212 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fa4444 ), color-stop(100%,#ec1212));
    background: -webkit-linear-gradient(top, #fa4444  0%,#ec1212 100%);
    background: -o-linear-gradient(top, #fa4444   0%, #ec1212 100%);
    background: -ms-linear-gradient(top, #fa4444  0%, #ec1212 100%);
    background: linear-gradient(to bottom, #fa4444  0%, #ec1212 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=' #f81e1e ', endColorstr='#ec1212',GradientType=0 );

    padding: 0px;
}
 <div class="top-navbar-panel">

        <ul>
            <li id="btn_all_discount" class="top-nav-active"> <img src="img/devices_logo_w.png" style="height: 50px;vertical-align: middle;margin-left: 9px;margin-top: -14px;margin-right: -18px;float: left;">  <span>All</span></li>
            <li id="btn_auth">Auth</li>
            <li id="btn_top_search" class="top-nav-search"><img src="img/ico_search.png" style="width: 100%; width: 65%;vertical-align: middle;"> </li>
        </ul>
        <div class="search_top_navbar_panel">
            <input  id="filter" name="search_top_navbar_panel" placeholder="Search..." type="search">
        </div>
    </div>

    所有 认证

尝试添加
左:0
齿输入不会显示给您,因为如果您已给出position:fixed,则必须将标记与左上方的CSS属性对齐。不起作用“尝试添加左:0”