书山有径勤为路>>>>>>>>

<<<<<<<<学海无涯苦作舟!

CSS设置字体——声声明多属性

 1 <html>
2 <head>
3 <style type="text/css">
4 p.ex1
5
{
6 font
:italic arial,sans-serif;
7
}
8
9 p.ex2
10
{
11 font
:italic bold 12px/30px arial,sans-serif;
12
}
13
</style>
14 </head>
15
16 <body>
17 <p class="ex1">
18 This is a paragraph. This is a paragraph.
19 This is a paragraph. This is a paragraph.
20 This is a paragraph. This is a paragraph.
21 This is a paragraph. This is a paragraph.
22 </p>
23 <p class="ex2">
24 This is a paragraph. This is a paragraph.
25 This is a paragraph. This is a paragraph.
26 This is a paragraph. This is a paragraph.
27 This is a paragraph. This is a paragraph.
28 </p>
29 </body>
30 </html>

posted on 2011-09-23 20:57  More study needed.  阅读(279)  评论(0编辑  收藏  举报

导航

书山有径勤为路>>>>>>>>

<<<<<<<<学海无涯苦作舟!