2015-08-19 31 views
0

我使用了textext来自动完成。该输入文本不再响应改变窗口大小。屏幕上是好的在第一时间:div的自动调整大小需要刷新才能正常工作

enter image description here

但是,当我改变我的浏览器窗口中的所有领域的萎缩,除了标签(其中有textext自定义样式)是正确的元素进入该领域:

enter image description here

如果我打开刷新,将找到其正确的位置。 下面是该领域相关的CSS:

.text-core { 
position: relative; 
} 

.text-core .text-wrap { 
    background: #fff; 
    position: absolute; 
    width: 100%; 
} 

.text-core .text-wrap textarea, .text-core .text-wrap input { 
    width: 100%; 
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    box-sizing: border-box; 
    -webkit-border-radius: 0px; 
    -moz-border-radius: 0px; 
    border-radius: 0px; 
    border: 1px solid #9daccc; 
    outline: none; 
    z-index: 1; 
    background: none; 
    overflow: hidden; 
    margin: 0; 
    padding: 3px 5px 4px 5px; 
    white-space: nowrap; 
    font: 14px; height : 34px; 
    border-radius: 4px; 
    height: 34px; 
    min-width: 0; 
    display: inline; 
} 

请人帮助,使别人一样使得响应。谢谢!

回答

0

尝试使用自举网格:http://getbootstrap.com/css/

把形式与COL-LG-6 COL-MD-12 COL-SM-12和COL-XS-12和按钮与COL-LG-6 col-md-12 col-sm-12和col-xs-12。

+0

na baba !!!!!!!! – Masih

+0

Jeddddiiiii ???? – Masih