dreamweaver中一列布局顯示問題
.top{ height:100px; background:blue} .main{ width:800px; height:300px; background:#999999; margin:0 auto} .foot{ widht:800px; height:100px; background:red; margin:0 auto} 在foot標簽中,寬度一樣,顯示居中,但是瀏覽器打開顯示占滿一行。視頻中的foot標簽就是居中顯示,為什么
.top{ height:100px; background:blue} .main{ width:800px; height:300px; background:#999999; margin:0 auto} .foot{ widht:800px; height:100px; background:red; margin:0 auto} 在foot標簽中,寬度一樣,顯示居中,但是瀏覽器打開顯示占滿一行。視頻中的foot標簽就是居中顯示,為什么
2016-06-03
舉報
2016-06-03
大哥,你打錯了一個字母
?.foot{ widht:800px; height:100px; background:red; margin:0 auto}?