看板 Web_Design 關於我們 聯絡資訊
剛剛練習用CSS排版 在DW裡面的設計視窗可以成功的顯示 但是用IE開卻無法跑出像DW設計模式中看到的 我想應該是違反了某些標準的寫法 可是我不知道是哪裡違反 可以幫我看看嗎 另外要怎麼樣設計出標準文件呢 我手上有工具書 卻沒有介紹 我是IE6.0版 ------------- CSS CODE如下 ------------- /* CSS Document */ body { text-align:center; } #top { width:600; margin: 0; } #content { width:600; margin:0; } #left { background-color:#FF66FF; width:124; height:300; float:left; } #right { background-color:#CC99FF; width:476; height:300; float:right; } #footer { background-color:#0033FF; width:200; height:25; clear:both; } -------- 配置如下 -------- <div id="top"> <img src="images/banner01.jpg" width="124" /> </div> <div id="content"> <div id="left"> <ul> <li>我很好</li> <li>你很好</li> <li>他很好</li> </ul> </div> <div id="right"> <br><br><br><br><br><br><br><br><br> </div> </div> <div id="footer"></div> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.32.251 ※ 編輯: fantasywater 來自: 61.228.32.251 (10/09 17:59)
bennylu:width top left height 他們的單位呢? 10/09 18:36
misshopboy:嗯嗯..一樓沒有錯,一定要把px寫上去 10/09 18:38
fantasywater:加單位之後就沒有錯了~感謝 10/09 19:00