list-style-type:none; /*去掉本身带有的圆点*/
form {
margin: 0px auto; /*form边距*/
display: inline; /*内联布局元素,不能设置宽高.因为内联属于行*/
}
line-height: 120%; /*设置字体行高*/
a,a:link,a:hover,a:visited,a:active {
text-decoration: none; /*取消下划线*/
text-decoration: underline; /*下划线*/
text-decoration: blink; /*闪烁线*/
text-decoration: line-through; /*贯穿线*/
text-decoration: overline; /*上划线*/
}
/*自定义菜单分隔样式*/
a img {
border-width: 0px; /*去掉图片有链接时出现外框*/
}
#divID img {} /*对应该ID下的图片显示设置,同上a img{}*/
font-size: 11px MingLiu /*11像素下中文字体清晰显示,指定字体*/
text-transform: uppercase /*全部文字大写*/
text-transform: lowercase /*全部文字小写*/
text-transform: uppercase /*首字母大写*/
Body { /*滚动条设置*/
scrollbar-face-color:#C0C0C0; (表面)
scrollbar-highlight-color:#FFFFFF;(亮边)
scrollbar-3dlight-color:#C0C0C0;(3D亮边)
scrollbar-darkshadow-color:#000000; (3D暗边)
scrollbar-Shadow-color:#808080;(阴影)
scrollbar-arrow-color:#000000; (箭头)
scrollbar-track-color:#E0E0E0;(滚动区)
}
img { /*图片防盗链*/
filter:expression(
this.不能去掉 ? "" :
(
(!this.complete) ? "" :
this.runtimeStyle.filter = ("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "')") +
String(this.不能去掉 = true).substr(0, 0) +
(this.src = "http://www.couke.com/logo.gif").substr(0, 0)
)
);
}
cursor: hand; /改变鼠标形状*/
align:absmiddle; /*文字绝对居中*/
overflow : hidden /*文本布局样式*/
text-overflow : ellipsis ;
word-wrap: break-word;
word-break:break-all;
clear:both; /*清除浮动*/
clear:left; /*不允许左侧存在浮动*/
overflow:hidden; /*超出宽度部分隐藏*/
body { /*左右阴影背景的CSS定义方法*/
text-align:center;
background-repeat: repeat-y;
background-position: center;
background-image: url(../images/bg.jpg);
}
评论前必须登录!
注册