課程
/前端開發
/HTML/CSS
/從 psd 到 html
我的源代碼
我的CSS
最后效果
2017-05-18
源自:從 psd 到 html 4-4
正在回答
我看了這段問題 ,都是這個問題 ,今天我給大家解答一下這個問題 。很簡單
<link rel="stylesheet" type="text/css" href="css/reset.css"><link rel="stylesheet" type="text/css" href="css/common.css"><link rel="stylesheet" type="text/css" href="css/index.css">
把這3個位置調成我發的這樣即可。 不要問我是誰,我叫雷鋒。
原因是你common里面 有個mairgin:0 auto;覆蓋了你之前的margin-top:200px;??
希望對你有幫助
oliviasun1129
外邊距重疊了吧?
你加一個 display:block; 試試
舉報
教你把PSD設計稿轉化成HTML,用案例來講解基本流程
2 回答index-panel里面的margin-top:200px沒反應
2 回答index banel panel 分別什么意思?
3 回答panel部分和footer部分重合且margin-top:200px,沒有效果
4 回答為什么我的panel部分和footer部分重合了
4 回答我的panel會侵占footer的位置...
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-12-25
我看了這段問題 ,都是這個問題 ,今天我給大家解答一下這個問題 。很簡單
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
把這3個位置調成我發的這樣即可。 不要問我是誰,我叫雷鋒。
原因是你common里面 有個mairgin:0 auto;覆蓋了你之前的margin-top:200px;??
希望對你有幫助
2017-08-08
外邊距重疊了吧?
2017-05-18
你加一個 display:block; 試試