一个正在奋斗中的IT民工

研究+交流+分享=提高

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  34 随笔 :: 10 文章 :: 55 评论 :: 0 引用

公告

07 2009 档案

摘要: w3c:If the top and bottom margins of a box are adjoining, then it is possible for margins to collapse through it. In this case, the position of the element depends on its relationship with the other e...阅读全文
posted @ 2009-07-23 00:07 kidi 阅读(72) | 评论 (0) 编辑

摘要: 该怎么解决margin collapsing问题,在这里就不做太多讨论,相关的解决方案网上也很多。前面IE8刚刚面市,于是就决定用IE8看看以前自己做的页面,是否够健壮,结果发现margin collapsing的解决方案在IE8中没能起效以前的解决方案:[代码]费解竟然这种解决方案不奏效了,于是用IE DEVELOPE TOOLBAR调试,发现<div class="clear">&...阅读全文
posted @ 2009-07-20 10:35 kidi 阅读(1561) | 评论 (19) 编辑

摘要: 年少学无知,待到成年时,踏入异乡处,方知游子心。阅读全文
posted @ 2009-07-19 18:08 kidi 阅读(13) | 评论 (0) 编辑

摘要: 首先讲下这个bug的出现的情况,页面中有<a href="javascript:void(0)" onclick="document.getElementById('current').src=‘images/001.jpg’;“>这么一个a标签,onclick中的JS代码就是改变id为current的img标签的src属性,以达到动态切换图片的效果...阅读全文
posted @ 2009-07-14 18:26 kidi 阅读(5149) | 评论 (10) 编辑

摘要: 51ditu地图的详细使用方法、参数说明及BUG(附图)阅读全文
posted @ 2009-07-09 20:36 kidi 阅读(299) | 评论 (0) 编辑

摘要: Tooltips are the little yellow text boxes that pop up in some browsers when you hover over elements with title tags. Several developers have created their own custom, stylized tooltipsusing a combination of JavaScript and CSS. However, it is possible to create pure CSS tooltips by using CSS positioning techniques. This technique requires a modern, standardscomplian browser like Firefox to work properly. As such, it is not a technique you would add to your day-to-day arsenal. However, it does dem阅读全文
posted @ 2009-07-02 16:58 kidi 阅读(102) | 评论 (0) 编辑

摘要: 左右布局,右侧宽度根据左侧宽度自适应阅读全文
posted @ 2009-07-02 15:26 kidi 阅读(598) | 评论 (2) 编辑