CSS的三种定义方法:
- 内联定义
- 内部样式表
- 链入外部样式表文件
内联定义:
内联定义既是通过标记的style属性定义使用该标记的样式属性。
<div style="backgroud-color:red;"></div>
在页面内定义内部样式块对象:
<head>
<style type="text/css">
body{font:9pt"宋体"}
table{
CSS的三种定义方法:
内联定义:
内联定义既是通过标记的style属性定义使用该标记的样式属性。
<div style="backgroud-color:red;"></div>
在页面内定义内部样式块对象:
<head>
<style type="text/css">
body{font:9pt"宋体"}
table{