<style type="text/css">*{ margin:0; padding:0 } body{ font-family:'微軟雅黑','MicrosoftYaHei',Arial,Helvetica,sans-serif; color:#000; min-width:320px;width:100%; }.pr { position: relative;}.demo { width: 300px; height: 417px; position: relative; margin: 10px auto; left: 40px; top: 175px}#disk { width: 417px; height: 417px; background: url(~/image/disk.jpg) no-repeat}#start { width: 163px; height: 320px; position: absolute; top: 76px; left: 95px;}#start img { cursor: pointer}#main { background: url(images/bj.jpg) no-repeat center top; background-size: 100%; height: 520px; width: 100%}img {? ? max-width: 100%;? ? vertical-align: middle;? ? border: 0px none;}.pic { width: 100%; text-align: center; margin: 0px auto;}.w927 { height: 515px; background: url(../images/bj.jpg) no-repeat center top; background-size: 100%;}.map-item{ width:100%; text-align:left; padding:3% 7%; color:#20436b; font-size:12px; }</style></head><body><div id="main"><div class="msg"></div><div class="demo pr">? <img src="images/pan.png" alt="Big Boat" width="240">? <div id="start"> <img src="images/zhen.png" id="startbtn" width="50"></div></div>? <div class="pic">? ? <img src="images/time.png">? ? </div> <div class="pic">? ? <img src="images/content.jpg">? ? </div>? ? <div class="pic">? ? <img src="images/gz.png">? ? </div>
4 回答

echo_kinchao
TA貢獻(xiàn)600條經(jīng)驗 獲得超86個贊
你這樣寫的意思 瀏覽器會認(rèn)為是圖片本身的 size固定在百分百了 ?應(yīng)該寫例如 ?width:80%
添加回答
舉報
0/150
提交
取消