摘要:在html中看到这样的属性:搜了好久,感觉不甚明白,现记之,等遇到了再做补充。# is called an anchor (or hash...). so the link is pointing to an anchor or ID on a page, or it would be if the # had some text after it. As it stands it goes nowhere because it doesn't have text after it.In case you are wondering WHY a link would go nowher
阅读全文
摘要:overflow:hidden这个CSS样式是大家常用到的CSS样式,但是大多数人对这个样式的理解仅仅局限于隐藏溢出,而对于清除浮动这个含义不是很了解。 一提到清除浮动,我们就会想到另外一个CSS样式:clear:both,我相信对于这个属性的理解大家都不成问题的。但是对于“浮动”这个词到底包含什么样的含义呢?我们下面来详细的阐述一下。这是一个常用的div写法,下面我们来书写样式。大家可以自己做试验 .wai{ width:500px; background:#555; height:500px;} .li { float:left; width:600px; height:400px; ba
阅读全文
摘要:参考地址:http://www.swordair.com/blog/2010/08/431/http://ashaochangfu.blog.163.com/blog/static/104251730201210245438273/http://newhtml.net/通过-css-media-query-制作感知屏幕尺寸的表格/http://www.zhangxinxu.com/wordpress/2011/08/css3-media-queries%E7%9A%84%E4%BA%9B%E9%87%8E%E5%8F%B2%E5%A4%96%E4%BC%A0/http://webdesigne
阅读全文