代碼一模一樣,頭像弄不到左邊去
<style>
body,p,h1,h2,h3,h4,h5,h6.form,ul,ol,hr{margin:0; padding:0; font:14px/1.5,
normal,"Arial","sans-serif","微軟雅黑","宋體","Tahoma"; color:#666}
ul,ol{ list-style:none}
.demo01{ width:600px;}
.demo01.left{width:100px; float:left}
.demo01.right{ width:500px; float:right}
</style>
</head>
<body>
<div class="demo01">
? <div class="left">
? <img src="小丸子.jpg" width="96" height="99" />
? </div>
? <div class="right">
? <h6>小王子</h6>
? <p>發言事實上事實上事實上事實上事實上事實上事
? 實上事實上事實上事實上事實上事實上事實上事實上事實上事
? 實上事實上事實上事實上事實上</p><br/>
? <span>10分鐘之前</span>
? </div>
</div>
</body>
2016-09-21
我也發現了 ? 找了半天發現demo01后邊要價格空格然后left,但是不知道為啥啊 ? 還不如不用,demo01 ? 這個小細節老師也沒講,浪費好多時間啊
2016-09-09
就是頭像不會拉到跟文本一起的位置,這個問題我解決了,要在.demo01 .left這里的01后面加個空格
2016-09-08
我也是,而且必須復制
body,p,h1,h2,h3,h4,h5,h6.form,ul,ol,hr{margin:0; padding:0; font:14px/1.5,
normal,"Arial","sans-serif","微軟雅黑","宋體","Tahoma"; color:#666}
ul,ol{ list-style:none}
這句代碼嗎
2016-09-07
你是指什么 ?我是復制然后打開的 ? 我幾個瀏覽器都是這樣顯示的