摘要:CSS布局常用的方法 float:none|left|right 取值: none:默认值。对象不飘浮 left:文本流向对象的右边 right:文本流向对象的左边 它是怎样工作的,看个一行两列的例子 xhtml代码: Example Source Code [www.52css.com] 这里是第一列 这里是第二列 /*这是违背web标准意图的,只是想说明在它下面的元...
阅读全文
随笔分类 - CSS
美化人生
摘要:The Grid Layout Javascript enables web-developers to stick to a Grid Layout quickly and simply Web 2.0 Badges - a set of free and very cool web badges (transparent). Mycoolbutton - simple web 2.0 ...
阅读全文
摘要:1. position:static|无定位 position:static是所有元素定位的默认值, 一般不用注明,除非有需要取消继承的别的定位 example: #div-1 { position:static; } 2. position:relative|相对定位 使用position:relative,就需要top,bottom,left,right4个属性来配合,确定元素的位置。 如果要...
阅读全文
摘要:CSS文字属性: color : #999999; /*文字颜色*/ font-family : 宋体,sans-serif; /*文字字体*/ font-size : 9pt; /*文字大小*/ font-style:itelic; /*文字斜体*/ font-variant:small-caps; /*小字体*/ letter-spacing : 1pt; /*字间距离*/ line...
阅读全文
摘要:http://www.52css.com/css/
阅读全文

浙公网安备 33010602011771号