xieyier

1.在IOS上就發現了 原本是固定在底部的footer  div  竟然在輸入框失去焦點的時候(即鍵盤彈出來后,收齊鍵盤) ,footer div  不能回到原來的位置。查看了一下代碼,發現是CSS中 \'position:fixed\' 導致IOS中不能固定位置.....同時我也發現了 pop up 的時候,即彈出信息框的時候,IOS上也出現了問題....頁面錯位了.....

我只能把 position改為了absolute;  或者把鍵盤彈出時候 覆蓋頁面,而不是把頁面往上推...

2. textarea 當數據超過了行數是 不能滾動,這真無語了..... 

$("#textareaid").bind(\'touchmove\',function(e){
             e.stopPropagetion();
})

3. 頁面上的輸入框 input  按鈕都變成了橢圓形  .....

#afui input[type="button"]{

	-webkit-appearance: none;

}

 所以我建议在自己的Reset.css里面一开始就加入下面的一段CSS样式就不会出错了O(∩_∩)O哈哈~

1 input[type="submit"],
2         input[type="reset"],
3         input[type="button"],
4         button {
5             -webkit-appearance: none;
6         }

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-24
  • 2021-12-10
  • 2021-05-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
猜你喜欢
  • 2021-04-08
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
相关资源
相似解决方案