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

為了賬號安全,請及時綁定郵箱和手機立即綁定

請問有沒有練習題的答案?

有的題不會做,看描述也看不懂,想問問有沒有代碼答案參考

正在回答

2 回答

<!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=gb2312" />

<title>無標題文檔</title>

<style type="text/css">


/*在此定義相應的類選擇器,并根據要求設置相關CSS屬性*/

.mainBox{

? ? width:960px;

? ? background-color:#cff;

? ? overflow:hidden;


}

.leftBox{

? ? float:left;

? ? width:740px;

? ? height:300px;

? ? background-color:#c9f;

}


.rightBox{

width: 210px;

height: 300px;

background-color:#fcf;

float: right;

}



</style>

</head>


<body>


<div class="mainBox">

<!--在此添加相應的div標簽-->

<div class="leftBox"></div>

<div class="rightBox"></div>

</div>

</body>

</html>


1 回復 有任何疑惑可以回復我~
#1

默然回首5054 提問者

thanks?
2017-11-07 回復 有任何疑惑可以回復我~

<!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=gb2312" />

<title>無標題文檔</title>

<style type="text/css">

.mainBox{

? ? /*margin:0 auto;*/

? ? width:960px;

? ? height:300px;

? ? background:blue;

? ??

}

/*在此定義相應的類選擇器,并根據要求設置相關CSS屬性*/

.leftBox{

? ? width:740px;

? ? height:300px;

? ? background: red;

? ? float:left


}


.rightBox{

? ? width:210px;

? ? height:300px;

? ? background: yellow;

? ? float:right;


}

</style>

</head>


<body>



<div class="mainBox">

? ? <div class="leftBox"></div>

? ? <div class="rightBox"></div>

</div>




</body>

</html>


1 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

請問有沒有練習題的答案?

我要回答 關注問題
微信客服

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

幫助反饋 APP下載

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

公眾號

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