當前位置:
首頁 >
关于margin
發布時間:2023/11/27
34
豆豆
<html><body><div style="width:200px;height:200px;background-color:red;> <div style="width:100px;height:100px;background-color:black;margin-left:300px;"></div></div></body></html>
左邊是火狐顯示,右邊為IE顯示。用overflow:hidden;可使子div消失。
?
轉載于:https://www.cnblogs.com/disneyland/p/4117316.html
總結
- 上一篇: JavaScript模式读书笔记 第5章
- 下一篇: UIActionSheet在iOS8中被