CSS常用属性
Css常用属性:
1. color, background-color:表示颜色的关键字,16进制数(http://www.clagnut.com/blog/260中提供的color
scheme工具)
2. font-family:该属性的值可以是一组字体,按喜欢程度排序的字体列表。一些中文字体的列表:
Windows的一些:
·
新細明體:PMingLiU
·
細明體:MingLiU
·
標楷體:DFKai-SB
·
黑体:SimHei
·
宋体:SimSun
·
新宋体:NSimSun
·
仿宋:FangSong
·
楷体:KaiTi
·
仿宋_GB2312:FangSong_GB2312
·
楷体_GB2312:KaiTi_GB2312
·
微軟正黑體:Microsoft JhengHei
·
微软雅黑体:Microsoft YaHei
装Office会生出来的一些:
·
隶书:LiSu
·
幼圆:YouYuan
·
华文细黑:STXihei
·
华文楷体:STKaiti
·
华文宋体:STSong
·
华文中宋:STZhongsong
·
华文仿宋:STFangsong
·
方正舒体:FZShuTi
·
方正姚体:FZYaoti
·
相关文档:
margin 外边距
border 边框
padding 内边距
也就是说 设置margin 那么他所占据的空白地方会是在边框外面
设置padding 他所占据的空白地方是在边框里面
而且在IE6 一下的版本中 存在这padding 计算错误的BUG
CSS 的宽度属性本来是不包含padding的 但是 在ie下面有的时候宽度是包含padding 所以 建议在不熟悉CSS 在定位 ......
应用样式的方法有三种:外部(external)、内部(internal)和内联(inline)。其中前两者的基本格式为:
selector { property : value; }
CSS中可以使用不同的selector(选择符)来应用样 ......
<style type="text/css">
<!--
input{ background:expression((this.readOnly &&this.readOnly==true)?"#CCCCCC":"")}
-->
</style>
<body>
<input type="text" name="" />
<input type="text" name="" readonly="readonly" />
expression:处理方式:
  ......
原文地址:http://www.devwebpro.com/25-rounded-corners-techniques-with-css/
* This post is regularly updated. *
Rounded corners is one of the most popular and frequently requested
CSS techniques even the father of internet Google
also launch the rounded corners style markup
with her Google Ad ......
像上面的一张图片我们该怎么用js 和css + div 很好的应用到我们的项目中呢?
<style>
.InpuRight{
height:20px;background:url(img/msg_bg.png) no-repeat;background-position:0px -250px;
}
.InputError{
width:20px;height:20px;background:url(img/msg_bg.png) no-repeat 0px 0px;
}
.inputLogin{
wid ......