這是一個奇怪的一個隱含忽略:溢出:由叛逆的孩子像
.naReduced{
max-height: 200px;
height:200px;
width: auto;
overflow:hidden;
border: blue 1px solid;
}
.naReduced>img{
height: 250px;
width: auto;
}
正如你可以在這裏看到:http://syndex.me(第二後,仍然顯示爲電視AA婦女從杯子喝水的)溢出:隱藏被忽略。
如果您檢查元素,所有按CSS順序排列,但divs計算樣式仍設置爲250px而不是200px,爲什麼?