博客的语言 ~

      ~资源~ 2006-12-9 16:22

background-color:#F5E2EC 背景色彩
background-image : url(/image/bg.gif) 背景图片
background-attachment : fixed 固定背景
background-repeat : repeat 重复排列-网页预设
background-repeat : no-repeat 不重复排列
background-repeat : repeat-x  在x轴重复排列
background-repeat : repeat-y 在y轴重复排列
background-position : 90% 90% 背景图片x与y轴的位置

color : #999999   文字色彩
font-family :  宋体 文字字型
font-size : 9pt   文字大小
font-style:italic  文字斜体
font-variant:small-caps  小字体
letter-spacing : 1pt  字间距离
line-height : 200%  设定行高
font-weight:bold   文字粗体  
vertical-align:sub   下标字
vertical-align:super   上标字
text-decoration:line-through   加刪除线
text-decoration:overline   加顶线
text-decoration:underline  加底线
text-decoration:none   刪除连結底线
text-transform : capitalize  首字大写
text-transform : uppercase  英文大写
text-transform : lowercase   英文小写
text-align:right  文字靠右对齐
text-align:left  文字靠左对齐
text-align:center   文字置中对齐

border-top : 1px solid #663366 上框
border-bottom : 1px solid #663366 下框
border-left : 1px solid #663366 左框
border-right : 1px solid #663366 右框                       

若四边你要设为相同宽的框线及色彩,就直接一起宣告,如下:

border: 1px solid #663366 四边框
background-color: #663366 背景色彩
background-image: url(mibg.jpg) 背景图片
color : #FFFFFF 文字色彩
font-size : 9pt 文字大小
border: 1px dotted #663366 框线大小及色彩

margin-top:10px 上边界
margin-right:10px 右边界值
margin-bottom:10px 下边界值
margin-left:10px 左边界值
margin:10px 四边界一起宣告

A 是文字的颜色
/A:link 是有连接的文字的颜色
/A:visited 已经访问的连接的颜色
/A:active 活动连接的颜色
/A:hover 鼠标经过的颜色

overflow:+````
visible :  不剪切内容也不添加滚动条。假如显式声明此默认值,对象将被
        剪切为包含对象的window或frame的大小。并且clip属性设置将失效
auto :  此为body对象和textarea的默认值。在需要时剪切内容并添加滚动条
hidden :  不显示超过对象尺寸的内容
scroll :  总是显示滚动条

标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}