div的最小高度定义法
摘要:
DIV里可以不填任何内容div.space { height: 2px; font-size: 0;}<div class="space"></div>第二种方法:跳过IE6中对font-size的限定,使用line-height来进行定义,但是DIV里面必须填写内容,如果没有内容,用替换。div.space { line-height: 2px;}<div clas... 阅读全文
posted @ 2010-06-21 17:34 永不言弃program 阅读(665) 评论(0) 推荐(0) 编辑