📄 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 + -