Web
文章平均质量分 95
iteye_16714
这个作者很懒,什么都没留下…
展开
-
DIV的高度自适应及注意问题
一、高度的自适应(父div高度随子div的高度改变而改变)1、如果父div不定义height、子div均为标准流的时候,父div的height随内容的变化而变化,实现父div高度随子div的高度改变而改变。代码:<style type="text/css"> #aa{ border:#000000 solid 5px} #bb{border:#00ffff soli...原创 2011-03-03 12:05:11 · 94 阅读 · 0 评论 -
Javascript中this的取值
this是javascript中非常基础的一个知识点,也是一个令很多初学者迷惑的知识点。Ecmascript中对其描述如下:There is a this value associated with every active execution context. The this value depends on the caller and the type of code bei...原创 2013-05-09 15:14:07 · 163 阅读 · 0 评论