荔园在线
荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀
[回到开始]
[上一篇][下一篇]
发信人: tang (独孤九剑〖重拾玄铁重剑〗), 信区: Program
标 题: Style Specification
发信站: BBS 荔园晨风站 (Wed Nov 25 18:50:11 1998), 站内信件
--------------------------------------------------------------------------------
Style Specification
Style Sheet Guide v1.0
--------------------------------------------------------------------------------
Style Grouping
TAG1, TAG2, ..., TAGn {PROPERTY: VALUE }
You can specify the same style to different tags at once.
ex.
<HEAD>
<STYLE TYPE="text/css">
H1, H2, H3 {font-family: Arial; font-size: 40pt; Color:red}
</STYLE>
</HEAD>
<BODY>
<H1>Today is fine.</H1>
<H2>Today is fine.</H2>
<H3>Today is fine.</H3>
</BODY>
View This Example Page
Style Variations for one tag
Style Declaration
TAG.#1 {PROPERTY: VALUE }
TAG.#2 {PROPERTY: VALUE }
...
TAG.#n {PROPERTY: VALUE }
Style Specification
<TAG CLASS="#1">
<TAG CLASS="#2">
...
<TAG CLASS="#n">
ex.
<HEAD>
<STYLE TYPE="text/css">
H1.red {font-family: Arial; font-size: 40pt; Color:red}
H1.green {font-family: Times New Roman; font-size: 20pt; Color:green}
</STYLE>
</HEAD>
<BODY>
<H1 CLASS="red">Today is fine.</H1>
<H1 CLASS="green">Today is fine.</H1>
</BODY>
View This Example Page
Style Variations for any tags
Style Declaration
.#1 {PROPERTY: VALUE }
.#2 {PROPERTY: VALUE }
...
.#n {PROPERTY: VALUE }
Style Specification
<TAG# CLASS="#1">
<TAG# CLASS="#2">
...
<TAG# CLASS="#n">
ex.
<HEAD>
<STYLE TYPE="text/css">
.red {font-family: Arial; font-size: 40pt; Color:red}
.green {font-family: Times New Roman; font-size: 20pt; Color:green}
</STYLE>
</HEAD>
<BODY>
<H1 CLASS="red">Today is fine.</H1>
<H2 CLASS="green">Today is fine.</H2>
<H1 CLASS="green">Today is fine.</H1>
</BODY>
View This Example Page
Link's Style
A:link {PROPERTY: VALUE}
A:visited {PROPERTY: VALUE}
A:active {PROPERTY: VALUE}
ex.
<HEAD>
<STYLE TYPE="text/css">
A:link {font-family: Arial; font-size: 40pt; Color:red}
A:visited {font-family: Arial; font-size: 20pt; Color:darkred}
</STYLE>
</HEAD>
<BODY>
<A href="back.html">Back to previous page.</A><BR>
<A href="fore.html">Next page you've never seen before.</A>
</BODY>
--------------------------------------------------------------------------------
Style Sheet Basic || Specification
Style Sheet Guide
Style Property Reference
HTML Design Guide Main Page
Network Communication Design
http://ncdesign.kyushu-id.ac.jp/
C&P 1994-1996 Yuriko Ienaga v91102@vgenda.kyushu-id.ac.jp
--
there are these few times I feel lonely for you
but I know this shade of blue will soon pass through
I must be strong without you by my side
I can see forever you are my light
※ 来源:.BBS 荔园晨风站 bbs.szu.edu.cn.[FROM: 192.168.0.4]
[回到开始]
[上一篇][下一篇]
荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店