摘要: W3C的一片好文 9 Visual formatting model 9.1 Introduction to the visual formatting model This chapter and the next describe the visual formatting model: h... 阅读全文
posted @ 2012-12-26 19:07 jiangC 阅读(384) 评论(0) 推荐(0) 编辑
摘要: css class names best practices What Makes For a Semantic Class Name? 多多关注一下下面的评论 CSS Styleguide CSS Semantics: Best Practices 阅读全文
posted @ 2012-12-26 19:01 jiangC 阅读(194) 评论(0) 推荐(0) 编辑
摘要: display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;webkit 下的比较不错的解决方案 阅读全文
posted @ 2012-12-26 16:51 jiangC 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1. 下面代码alert的内容 function tr42(){ var a2, b2; a2 = {"c": 1}; b2 = a2; a2.c = 2; alert(b2.c); a2 = {"c": 3}; alert(b2.c); a2.c = 4; a... 阅读全文
posted @ 2012-12-26 10:23 jiangC 阅读(521) 评论(1) 推荐(0) 编辑
摘要: $(document).ready(function() { //all your code goes here... }); ready: (function() { ... //Mozilla, Opera, and Webkit if (do... 阅读全文
posted @ 2012-12-26 10:20 jiangC 阅读(165) 评论(0) 推荐(0) 编辑