最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

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

怎么傳人數(shù)據(jù)框沒辦法居中???是要用絕對定位嗎?

怎么傳人數(shù)據(jù)框沒辦法居中?。渴且媒^對定位嗎?

_Jack_lei 2016-04-02 21:46:15
<!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"><style type="text/css">body{margin:0; padding:0;}#top{height:30px; background:#CCC;}#mainbody{width:550px; height:300px; margin:0 auto}#soso{height:20px; width:90px; margin: o auto;}#findbody{width:75px;height:50px;margin:0 auto}?</style><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>百度一下,你就知道</title></head><body><div class="type"> <div id="top">鄭州:晴轉(zhuǎn)多云</div>? ? <div id="mainbody"> <img src="bd_logo1_31bdc765.png"alt="bd_logo1_31bdc765.png"title="百度"/></div>? ? <div id="soso">? ? <form method="post" action="save.php">? ? <input type="text" name="myName"/></form>? ? ?<input type="submit" value="提交" name="submitBtn" />? ? </div>? ? <div id="findbody"><a >設(shè)為首頁</a>? ?? ? </div></div></body></html>
查看完整描述

1 回答

已采納
?
俠客島的含笑

TA貢獻(xiàn)552條經(jīng)驗 獲得超285個贊


你沒設(shè)置居中啊

查看完整回答
反對 回復(fù) 2016-04-03
  • _Jack_lei
    _Jack_lei
    額,學(xué)的不好,問答框那個不是在class="soso"里嗎?對soso用css設(shè)置margin:0 auto;不是居中嗎/?
  • 俠客島的含笑
    俠客島的含笑
    margin:0 auto你寫的是字母o
  • 1 回答
  • 0 關(guān)注
  • 1473 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號