1 DIV在IE中自动撑开,FF中不行的解决方案 A div { width:100px; height:auto; overflow: auto; } B div { width:100px; height:auto; overflow: visible; } C div { height:auto!important; height:100px; min-height:100px; } 2 span 在IE和FF中的兼容宽度设置 span{ background-color:#fc0; display:-moz-inline-box; display:inline-block; width:150px; }