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

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

請問騰訊軟件中心頭部寫的代碼 怎么會分2行顯示?

<!DOCTYPE?html>
<html>
<head>
<meta?charset="UTF-8">
<title>兩列橫下布局</title>
<style>
*{margin:?0;?padding:?0;?font-size:?14px;?font-color:rgb(50,50,50);list-style:?none;font-family:Verdana,?Geneva,sans-serif,?宋體;?}
div{display:block;}
????.warp{background-color:?#FFFF00;width:910px;?margin:0?auto;?}
????.head{width:?100%;}
????.logo?h1{background:url(images/logo.gif)?no-repeat;
?????width:?217px;
????????height:?63px;
????????text-indent:?-9999%;
????????cursor:pointer;}
????h1{
?????display:block;
?????font-size:2em;
?????-webkit-margin-before:0.67em;
?????-webkit-margin-after:0.67em;
?????-webkit-margin-start:0px;
?????-webkit-margin-end:0px;
?????font-weight:bold;
????}
????.logo?dl{float:?right;margin-top:?10px;}
????.logo?dt{font-width:bold;color:?#525252;line-height:26px;}
????.logo?dd{font-size:12px;?color:?#828282;?line-height:?24px;}
????.main{background-color:?yellow;?width:?100%;?overflow:?hidden;}
????.left{background-color:#000000;?width:?600px;float:?left;?}
????.right{background-color:?#00FF00;?width:?280px;float:right;}
????.foot{background-color:?purple;width:?100%;}
</style>
</head>
<body>
???<div>
????<div>
??????<div>
?????????<h1><a?href="#">騰訊軟件中心</a></h1>
?????????<dl>
?????????<dt>騰訊軟件中心,騰訊精品軟件展示平臺</dt>?
?????????<dd>我們會不斷提升產品的性能和體驗,為您提供最好用的軟件!</dd></dl>
??????</div>
????</div>
????<div>
????<div>left</div>
???<div>right</div>
????</div>
<div>foot</div>
</div>
</body>
</html>


正在回答

2 回答

已看源代碼 找到答案了 不用回復啦 ?謝謝各位!

我是沒有設置 左邊那個圖片浮動導致的~

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

http://img1.sycdn.imooc.com//5833f0fc00018f1709470207.jpg看圖說話

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

舉報

0/150
提交
取消
網頁布局基礎
  • 參與學習       214663    人
  • 解答問題       1833    個

讓你精通CSS中三大定位機制,徹底掌握網頁布局的相關知識

進入課程

請問騰訊軟件中心頭部寫的代碼 怎么會分2行顯示?

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

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

幫助反饋 APP下載

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

公眾號

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