⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 7-3-12.cfm.htm

📁 最全的ASP教程
💻 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">&lt;HTML&gt;</p>

<p ALIGN="JUSTIFY">&lt;HEAD&gt;<br>
&lt;TITLE&gt; Style &lt;/TITLE&gt;</p>

<p ALIGN="JUSTIFY">&lt;STYLE&gt;</p>

<p ALIGN="JUSTIFY">&lt;!--</p>

<p ALIGN="JUSTIFY">.BigLines {line-height: 200%}</p>

<p ALIGN="JUSTIFY">--&gt;</p>

<p ALIGN="JUSTIFY">&lt;/STYLE&gt;</p>

<p ALIGN="JUSTIFY">&lt;/HEAD&gt;</p>

<p ALIGN="JUSTIFY">&lt;BODY&gt;</p>

<p ALIGN="JUSTIFY">&lt;P CLASS=BigLines&gt;</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">&lt;/P&gt;</p>

<p ALIGN="JUSTIFY">&lt;P&gt;</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">&lt;/P&gt;</p>

<p ALIGN="JUSTIFY">&lt;/BODY&gt;</p>

<p ALIGN="JUSTIFY">&lt;/HTML&gt;</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 + -