CSS之工作黏贴
/* Cascading Style Sheet for IE4.01 last updated 10-16-97 */
DIV {COLOR: #333333; FONT-FAMILY: "宋体", "Arial", "Tahoma"; FONT-SIZE: 9pt}
P {COLOR: #333333; FONT-FAMILY: "宋体", "Arial", "Tahoma"; FONT-SIZE: 9pt}
TD {COLOR: #333333; FONT-FAMILY: "宋体", "Arial", "Tahoma"; FONT-SIZE: 9pt}
BODY {COLOR: #333333; FONT-FAMILY: "宋体", "Arial", "Tahoma"; FONT-SIZE: 9pt}
A {font-family: "宋体"; font-size: 9pt; color: #333333; text-decoration: none}
A:Link {font-family: "宋体"; font-size: 9pt; color: #333333; text-decoration: underline}
A:Hover{font-family: "宋体"; font-size: 9pt; color: #3399CC; text-decoration: none}
A:Visited {font-family: "宋体"; font-size: 9pt; color: #663333; text-decoration: underline}
.lefty div {font-family: "宋体"; font-size: 9pt; color: #996633; text-decoration: none }
.lefty td {font-family: "宋体"; font-size: 9pt; color: #996633; text-decoration: none }
.lefty A {font-family: "宋体"; font-size: 9pt; color: #CC9933; text-decoration: none}
.lefty A:Link {font-family: "宋体"; font-size: 9pt; color: #CC9933; text-decoration: none}
.lefty A:Hover{font-family: "宋体"; font-size: 9pt; color: #996633; text-decoration: none}
.lefty A:Visited {font-family: "宋体"; font-size: 9pt; color: #CC9933; text-decoration: none}
.leftb div {font-family: "宋体"; font-size: 9pt; color: #006699; text-decoration: none }
.leftb td {font-family: "宋体"; font-size: 9pt; color: #006699; text-decoration: none }
.leftb A {font-family: "宋体"; font-size: 9pt; color: #006699; text-decoration: none}
.leftb A:Link {font-family: "宋体"; font-size: 9pt; color: #006699; text-decoration: none}
.leftb A:Hover{font-family: "宋体"; font-size: 9pt; color: #000000; text-decoration: none}
.leftb A:Visited {font-family: "宋体"; font-size: 9pt; color: #006699; text-decoration: none}
.menu div {font-family: "宋体"; font-size: 9pt; color: #3399CC; text-decoration: none }
.menu td {font-family: "宋体"; font-size: 9pt; color: #3399CC; text-decoration: none }
相关文档:
filter:alpha(opacity=50);-moz-opacity:0.5;
Opacity: 相对于IE。火狐似乎好像不支持。 值:以百分比为值,100 表示不透明度为100%;50侧代表不透明度为50%。
-moz-opacity: 相对于FF,火狐。 值:以小数点为值,1 表示不透明度为100%;0.5侧代表不透明度为50%。
注意:上面的滤镜IE8不支持。因此我们需要用 <meta h ......
IE6下默认的字体尺寸大致在 12 – 14px 之间,当你试图定义一个高度小于这个默认值的 div 的时候, IE 会固执的认为这个层的高度不应该小于字体的行高。所以即使你用 height:4px; 来定义了一个 div 的高度,实际在 IE 下显示的仍然是一个 12 px 左右高度的层。添加overflow: hidden解决问题。
<div style=&rdquo ......
css实现背景拉伸 制作页面时,有时需要在表格内插入背景图,我们可以使用CSS进行控制,代码:
style="background-image:url(./images/counter_bg.jpg);background-repeat: no-repeat;background-position: right bottom;"
其中,./images/counter_bg.jpg为显示图片路径。 ......
实现Gridview表头固定可以通过CSS来实现
将GridView放进一个Panel中,然后设置Panel可以有竖滚动条(参见我的另一篇为Gridview生成滚动条)。设置Gridview的Style为<HeaderStyle CssClass="GridViewHeader" />
.GridViewHeader {
position:relative ;
tabl ......