Reiko--Web

懒虫的的宝典

2007年7月13日

你可能不知道的CSS语法技巧

摘要: 1. CSS字体定义简写规则一般的写法会是这样:font-weight: bold;font-style: italic;font-varient: small-caps;font-size: 1em;line-height: 1.5em;font-family: verdana,sans-serif而实际上你可以用更简洁的写法:font: bold italic small-caps 1em/1... 阅读全文

posted @ 2007-07-13 10:05 Reiko--Web 阅读(173) 评论(0) 推荐(0) 编辑

2007年7月12日

打印时分页

摘要: 打印时分页:<html><body>This is the text for page #1.<p style="page-break-before: always">Page #2...<p style="page-break-before: always"> ---这句话就是分页得标签Page #3...</body></htm... 阅读全文

posted @ 2007-07-12 15:01 Reiko--Web 阅读(125) 评论(0) 推荐(0) 编辑

2007年6月29日

弹出层的效果

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-tra... 阅读全文

posted @ 2007-06-29 08:50 Reiko--Web 阅读(206) 评论(0) 推荐(0) 编辑

2007年6月25日

scrollLeft,scrollWidth,clientWidth,offsetWidth之完全详解

摘要: scrollHeight:获取对象的滚动高度。 scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离 scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最顶端之间的距离 scrollWidth:获取对象的滚动宽度 offsetHeight:获取对象相对于版面或由父坐标offsetParent属性指定的父坐标的高度 offsetLeft:获取对象相对... 阅读全文

posted @ 2007-06-25 15:26 Reiko--Web 阅读(272) 评论(0) 推荐(0) 编辑

event对象详解

摘要: event对象详解 event代表事件的状态,例如事件发生的的元素、鼠标的位置等等,event对象只在事件过程中才有效。 event属性: altKey 检索ALT键的当前状态 可能的值 true为关闭 false为不关闭 button 检索按下的鼠标键 可能的值: 0 没按键 1 按左键 2 按右键 3 按左右键 4 按中间键 5 按左键和中间键 6 按右键和中间键 7 按所有的键 cancel... 阅读全文

posted @ 2007-06-25 14:55 Reiko--Web 阅读(141) 评论(0) 推荐(0) 编辑

导航