亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

請幫我看一下代碼?

請幫我看一下代碼?

aparch 2016-03-18 17:37:02
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>二列布局</title><style type="text/css">body{margin:0;? ? ?padding:0 }.main{width:800px;margin:0 auto;background-color:#00C;} ?.left{ width:220px; height:500px; float:left; background:#ccc; } .right{ width:580px; height:200px; float:right; background:#ddd; } ?</style></head><body><div class="main">? ?<div class="left"></div>? ?<div class="right"></div></div></body></html>-----------------------------------------------------這里main里的2個class是有高度的,main只有寬度沒有高度,那main的高度在沒有設置的情況下,是不是默認100%呢?還是有其他的說法
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 1636 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號