摘要:
<div> <h1 id = "first">first</h1> <h1 id="second">second</h1> <input type="button" onclick="test()" value="insertBefore" /> </div> <script> function test(){ var headObj = document.getElementById("f 阅读全文
摘要:
1.li在ie6下面高度变大,css: vertical-align:bottom;2.outerWidth(true):包含marginouterWidth(false):不包含margin参数不写默认是false3. 创建元素function createSpan(){var span = document.createElement("span");span.innerHTML = "显哥哥你大爷";document.getElementById("main").appendChild(span);//此处span是变量,不需要 阅读全文
该文被密码保护。 阅读全文