?? 7-3-16.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>
<b><font FACE="宋體">
<p ALIGN="JUSTIFY">控制段落的縮進</p>
</font></b><font FACE="宋體" SIZE="3">
<p ALIGN="JUSTIFY">Style Sheet的一個非常有用的屬性是text-indent屬性,使用這個屬性,你可以通過提供百分數或絕對值來縮進文本,就如下面的例子所示(見圖7.29):</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">.Indented {text-indent: 10%}</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=Indented></p>
<p ALIGN="JUSTIFY">This paragraph is indented.</p>
<p ALIGN="JUSTIFY">This paragraph is indented.</p>
<p ALIGN="JUSTIFY">This paragraph is indented.</p>
<p ALIGN="JUSTIFY"></P></p>
<p ALIGN="JUSTIFY"><P></p>
<p ALIGN="JUSTIFY">This paragraph is not.</p>
<p ALIGN="JUSTIFY">This paragraph is not.</p>
<p ALIGN="JUSTIFY">This paragraph is not.</p>
<p ALIGN="JUSTIFY"></P></p>
<p ALIGN="JUSTIFY"></BODY></p>
<p ALIGN="JUSTIFY"></HTML></p>
<p ALIGN="JUSTIFY"> </p>
<p ALIGN="JUSTIFY"><img SRC="Image72.gif" tppabs="http://210.74.168.175/guide/asp/part7/Image72.gif" WIDTH="593" HEIGHT="407"></p>
<b>
<p ALIGN="CENTER">圖7.29 使用style sheet來縮進文字</p>
</b></font>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -