在舊版 IE 中,空的 div 若設定寬度,仍可能佔用高度。解法是明確讓高度歸零並隱藏溢出。
.empty { width: 100%; height: 0; overflow: hidden; }
這樣可避免空區塊影響版面。