子div有內容,父div高度爲什麼爲0?(含解決方法)

我們先看一段測試代碼: <html> <head> <title></title> <style> .aBox{ background-color:blue; } .bBox{ background-color:yellow; float:left; height:400px; width:400px; }
相關文章
相關標籤/搜索