?? 7-3-12.cfm.htm
字號:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>控制文本的空間</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
</head>
<body>
<font FACE="宋體"><b>
<p ALIGN="JUSTIFY">控制文本的空間</p>
</b></font><font FACE="宋體" SIZE="3">
<p ALIGN="JUSTIFY">根據Cascading Style Sheet規范,你應當可以控制文本行的高度,字母的空間以及單詞的空間。然而非常遺憾,當前版本的Netscape和Microsoft的瀏覽器只支持行高度的屬性。下面的HTML文件說明了這些特性(見圖7.25):</p>
<p ALIGN="JUSTIFY"> </p>
<p ALIGN="JUSTIFY"><HTML></p>
<p ALIGN="JUSTIFY"><HEAD><br>
<TITLE> Style </TITLE></p>
<p ALIGN="JUSTIFY"><STYLE></p>
<p ALIGN="JUSTIFY"><!--</p>
<p ALIGN="JUSTIFY">.BigLines {line-height: 200%}</p>
<p ALIGN="JUSTIFY">--></p>
<p ALIGN="JUSTIFY"></STYLE></p>
<p ALIGN="JUSTIFY"></HEAD></p>
<p ALIGN="JUSTIFY"><BODY></p>
<p ALIGN="JUSTIFY"><P CLASS=BigLines></p>
<p ALIGN="JUSTIFY">These lines of text have plenty of space between them.</p>
<p ALIGN="JUSTIFY">Can you notice the extra space?</p>
<p ALIGN="JUSTIFY">These lines of text have plenty of space between them.</p>
<p ALIGN="JUSTIFY">Can you notice the extra space?</p>
<p ALIGN="JUSTIFY">These lines of text have plenty of space between them.</p>
<p ALIGN="JUSTIFY">Can you notice the extra space?</p>
<p ALIGN="JUSTIFY">These lines of text have plenty of space between them.</p>
<p ALIGN="JUSTIFY">Can you notice the extra space?</p>
<p ALIGN="JUSTIFY"></P></p>
<p ALIGN="JUSTIFY"><P></p>
<p ALIGN="JUSTIFY">These lines of text have no space between them.</p>
<p ALIGN="JUSTIFY">Do you notice the missing space?</p>
<p ALIGN="JUSTIFY">These lines of text have no space between them.</p>
<p ALIGN="JUSTIFY">Do you notice the missing space?</p>
<p ALIGN="JUSTIFY">These lines of text have no space between them.</p>
<p ALIGN="JUSTIFY">Do you notice the missing space?</p>
<p ALIGN="JUSTIFY">These lines of text have no space between them.</p>
<p ALIGN="JUSTIFY">Do you notice the missing space?</p>
<p ALIGN="JUSTIFY"></P></p>
<p ALIGN="JUSTIFY"></BODY></p>
<p ALIGN="JUSTIFY"></HTML></p>
<p ALIGN="JUSTIFY">當這個文件在網絡瀏覽器上顯示時,第一段中的文本行之間的空間大小為200%(當前字體大小的兩倍)。除了使用百分號外,你也可以使用前面所述的任何一個度量單位,如象素或點。</p>
<p ALIGN="JUSTIFY"><img SRC="Image68.gif" tppabs="http://210.74.168.175/guide/asp/part7/Image68.gif" WIDTH="595" HEIGHT="429"></p>
<b>
<p ALIGN="CENTER">圖7.25 控制行間距</p>
</b></font>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -