這是my site;我可以看到有一個input[type=password]
與width: 100%;
和padding: 0 5px;
。它適用於所有主流瀏覽器,但如果您嘗試在Internet Explorer 9上打開該站點,輸入填充以一種奇怪的方式起作用...Internet Explorer 9輸入填充問題
1
A
回答
3
使用box-sizing CSS屬性
解決
1
您需要包含一個文檔類型聲明(dtd)聲明在頁面頂部。如果排除,IE將默認爲怪癖模式。
<!DOCTYPE html>
0
只是包括在樣式box-sizing: border-box;
相關問題
- 1. CSS Div填充問題Internet Explorer
- 2. Internet Explorer 9顯示問題
- 3. Internet Explorer表單輸入問題
- 4. Internet Explorer 9兼容性問題
- 5. OnTextChanged Internet Explorer 9中的奇數問題
- 6. Internet Explorer 9中的qTip問題
- 7. Internet Explorer 9和10的CSS問題
- 8. Internet Explorer 9 onClick事件問題
- 9. Internet Explorer 9上div的CSS問題
- 10. 外部接口和Internet Explorer 9問題
- 11. jquery問題Internet Explorer 9和7
- 12. Chrome輸入填充問題
- 13. 與Internet Explorer 9
- 14. Internet Explorer問題
- 15. Internet Explorer 9-11不使用顏色填充g元素(高圖)
- 16. VBA和Internet Explorer:填寫輸入框
- 17. 帶有填充的div內的Internet Explorer保證金問題
- 18. Internet Explorer 11和角度HttpClient post的填充問題
- 19. Flot和Internet Explorer 9?
- 20. Internet Explorer 9和XSLT
- 21. Internet Explorer 9 - CSS Breaking
- 22. Internet Explorer的問題
- 23. Internet Explorer Div問題
- 24. Internet Explorer Padding問題
- 25. Internet Explorer DOM問題
- 26. Internet Explorer - JavaScript問題
- 27. Internet Explorer的問題
- 28. Internet Explorer UI問題
- 29. Internet Explorer CSS問題
- 30. Internet Explorer的問題
你是什麼意思時,你說在一種奇怪的方式輸入填充行爲?我在Windows 7上的Internet Explorer 9中進行了測試,結果沒有發現任何錯誤。 – Nick