一个正在奋斗中的IT民工

研究+交流+分享=提高

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2009年6月23日

摘要: If you set a background position using pixels, the top-left corner of the image is positioned from the top-left corner of the element by the specified number of pixels. With percentage positioning, it... 阅读全文
posted @ 2009-06-23 12:05 kidi 阅读(268) 评论(0) 推荐(0) 编辑

2009年6月22日

摘要: One of the most powerful JavaScript keywords is this. Unfortunately it is hard to use if you don't exactly know how it works. Below I explain how to use it in event handling. Later on I'll add some information about other uses of this. 阅读全文
posted @ 2009-06-22 12:36 kidi 阅读(735) 评论(1) 推荐(0) 编辑

2009年6月21日

摘要: Normally when people create float-based layouts, they float both columns left, and then create a gutter between the columns using margin or padding. When using this approach, the columns are packed tightly into the available space with no room to breathe. Although this wouldn’t be a problem if browsers behaved themselves, buggy browsers can cause tightly packed layouts to break, forcing columns to drop below each other...... 阅读全文
posted @ 2009-06-21 18:18 kidi 阅读(209) 评论(0) 推荐(0) 编辑

2009年6月19日

摘要: 反思页面结构的选择问题 阅读全文
posted @ 2009-06-19 13:21 kidi 阅读(1530) 评论(5) 推荐(0) 编辑

2009年6月13日

摘要: I've been working on this layout that had a relatively positioned element inside a container with overflow. Everything looked good until I switched to IE7 and noticed that my positioned element remained fixed. Here's some code to demonstrate the problem: 阅读全文
posted @ 2009-06-13 14:14 kidi 阅读(263) 评论(0) 推荐(0) 编辑

2009年6月12日

摘要: IE Hack,写CSS经常遇到的问题. 而在if IE起着非常大的作用.if ie什么意思 呢. 下面就列举了一些在CSS常见的HACK控制语句吧. 阅读全文
posted @ 2009-06-12 18:48 kidi 阅读(442) 评论(0) 推荐(0) 编辑

摘要: CSS初始化代码,重置浏览器中CSS默认属性。 阅读全文
posted @ 2009-06-12 18:31 kidi 阅读(543) 评论(0) 推荐(0) 编辑

摘要: 对于目前的Firefox、chrome、safari中的textarea控件,可以有拉伸的功能,有时这非常酷,但再好的东西并不是所有人都喜欢,你可能想把这个功能屏蔽掉,该如何做呢?其实通过CSS就很简单的控制了...... 阅读全文
posted @ 2009-06-12 18:26 kidi 阅读(543) 评论(1) 推荐(0) 编辑

摘要: 关于嵌套DIV与FILTER滤镜的小BUG 阅读全文
posted @ 2009-06-12 13:49 kidi 阅读(216) 评论(0) 推荐(0) 编辑

2009年6月10日

摘要: 如何用CSS解决IE7中overflow: hidden对flash超出部分无效,本来想偷懒google一下的,没想到Google很难找到关于flash与div共存overflow的文章,最多的就是flash把div遮盖住了的解决方法。没办法只有自己解决,本着简单原则,所以这里就不谈如何用JS解决了,希望能对博友有用…… ^_^ 阅读全文
posted @ 2009-06-10 18:38 kidi 阅读(772) 评论(0) 推荐(0) 编辑

摘要: z-index属性简介 引用: z-index : auto | number auto:默认值。 number:无单位的整数值,可为负数。 z-index 值较大的元素将叠加在z-index值较小的元素之上。对于未指定此属性的定位对象,z-index 值为正数的对象会在其之上,而z-index 值为负数的对象在其之下。 注意:这个属性不会作用于窗口控件,如selct 对象。在IE 5.5+中,iframe 对象开始支持此属性。而在之前的浏览器版本中,iframe 对象是窗口控件,会忽略此属性。 z-index属性适用于定位元素(position 属性值为 relative 或 absolute 或 fixed的对象),用来确定定位元素在垂直于显示屏方向(称为Z轴)上的层叠顺序(stack order)。 阅读全文
posted @ 2009-06-10 15:35 kidi 阅读(438) 评论(0) 推荐(0) 编辑

2009年6月3日

摘要: CSS的优化通常包括两方面: 格式化CSS和精简CSS。 精简CSS的办法是把具有相同属性的元素合并在一起,但这会降低代码的可读性,使代码的后期维护很麻烦,稍不注意就出错。 格式化CSS一般就是多行模式或单行模式的选择,比如我个人就完全受不了多行模式 下面是一些在线的CSS优化工具,能让你方便的对CSS文件进行各种优化处理。 阅读全文
posted @ 2009-06-03 10:10 kidi 阅读(835) 评论(0) 推荐(0) 编辑

2009年6月2日

摘要: 关于华硕和惠普笔记本安装XP系统文章,不错的,大家可以看看。 阅读全文
posted @ 2009-06-02 20:47 kidi 阅读(2533) 评论(0) 推荐(0) 编辑

摘要: 由CSS中float属性做小小改动而来,呵呵...... 阅读全文
posted @ 2009-06-02 10:51 kidi 阅读(547) 评论(0) 推荐(0) 编辑

2009年6月1日

摘要: 今天给客户的DV4-1212换XP,鉴于安装过程中驱动方面找了好久,特发此文章以帮助那些需要将DV4改XP的本友们,当然在此也感谢那些为DV4改装贡献力量的本友们。谢谢你们的驱动我装成功了,在此对安装过程进行总结,以供大家互相学习。 阅读全文
posted @ 2009-06-01 18:53 kidi 阅读(7399) 评论(1) 推荐(0) 编辑