摘要:
<style type="text/css"> #box1{ width: 100px; height: 100px; background-color: red; /* * 开启box1的绝对定位 */ position: absolute; } </style> <script type="te
阅读全文
posted @ 2020-04-26 21:59
17787018191
阅读(95)
推荐(0)
摘要:
<style type="text/css"> #box1{ width: 200px; height: 200px; background-color: yellowgreen; } #s1{ background-color: yellow; } </style> <script type="t
阅读全文
posted @ 2020-04-26 21:58
17787018191
阅读(106)
推荐(0)
摘要:
<style type="text/css"> #box1{ width: 100px; height: 100px; background-color: red; /* * 开启box1的绝对定位 */ position: absolute; } </style> <script type="te
阅读全文
posted @ 2020-04-25 21:54
17787018191
阅读(89)
推荐(0)
摘要:
<style type="text/css"> #areaDiv { border: 1px solid black; width: 300px; height: 50px; margin-bottom: 10px; } #showMsg { border: 1px solid black; wid
阅读全文
posted @ 2020-04-25 21:53
17787018191
阅读(167)
推荐(0)
摘要:
<style type="text/css"> #info{ width: 300px; height: 500px; background-color: #bfa; overflow: auto; } </style> <script type="text/javascript"> window.
阅读全文
posted @ 2020-04-25 21:52
17787018191
阅读(122)
推荐(0)
摘要:
<style type="text/css"> #box1{ width: 100px; height: 100px; background-color: red; padding: 10px; border: 10px solid yellow; } #box2{ padding: 100px;
阅读全文
posted @ 2020-04-25 09:20
17787018191
阅读(158)
推荐(0)
摘要:
<style type="text/css"> #box1{ width: 100px; height: 100px; background-color: yellow; } </style> <script type="text/javascript"> window.onload = funct
阅读全文
posted @ 2020-04-25 09:18
17787018191
阅读(98)
推荐(0)
摘要:
<style type="text/css"> #box1{ width: 100px; height: 100px; background-color: red; } </style> <script type="text/javascript"> window.onload = function
阅读全文
posted @ 2020-04-21 19:42
17787018191
阅读(142)
推荐(0)
摘要:
window.onload = function(){ /* * 点击超链接以后,删除一个员工的信息 */ //获取所有额超链接 var allA = document.getElementsByTagName("a"); //为每个超链接都绑定一个单击响应函数 for(var i=0 ; i <
阅读全文
posted @ 2020-04-18 15:41
17787018191
阅读(73)
推荐(0)
摘要:
window.onload = function() { //创建一个"广州"节点,添加到#city下 myClick("btn01",function(){ //创建广州节点 <li>广州</li> //创建li元素节点 /* * document.createElement() * 可以用于创建
阅读全文
posted @ 2020-04-18 15:39
17787018191
阅读(106)
推荐(0)