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 }
相关文档:
作者:李丽媛
邮箱:lly219@gmail.com
日期:2009-1-12
前言(自说自话)
从初识CSS到现在已经5个年头了。大多是断断续续的,可是近一年来接触颇多,甚有一些些体会。
第一次接触只知道font,color,background,margin,padding等基本知识,乃至连margin、padding都分不清个所以然。
在第一次Web大作业中知道了有&ldq ......
CSS 和 JavaScript 标签 style 属性对照表:
盒子标签和属性对照
CSS语法(不区分大小写) JavaScript语法(区分大小写)
border border
border-bottom borderBottom
border-bottom-color borderBottomColor
border-bottom-style borderBottomStyle
border-bottom-width borderBottomWidth
border-color bor ......
-----------------------------------------------
链接外面文件css
<link href="layout.css" rel="stylesheet" type="text/css" />
-----------------------------------------------
写文本 : <div id="mainContent">
<p>1列固定宽度居中+头部+导航+尾部—&mdash ......
css实现背景拉伸 制作页面时,有时需要在表格内插入背景图,我们可以使用CSS进行控制,代码:
style="background-image:url(./images/counter_bg.jpg);background-repeat: no-repeat;background-position: right bottom;"
其中,./images/counter_bg.jpg为显示图片路径。 ......
When you meet trouble with css style in IE7, try this. You can set different css for IE7 and the other browsers.
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="/home_c_ie7.css" mce_href="home_c_ie7.css" />
<![endif]-->
......