欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!

 

 

<html>
<head>
<style type="text/css">
span
{
float:left;
width:0.7em;
font-size:400%;
font-family:algerian,courier;
line-height:80%;
}
</style>
</head>

<body>
<p>
<span>T</span>his is some text.
This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text.
</p>

<p>
在下面的段落中,文本的第一个字母网罗在一个 span 元素中。这个 span 元素的宽度是目前字体尺寸的 0.7 倍。span 元素的字体尺寸是 400%,行高是 80%。span 中的字母字体是 "Algerian"
</p>

</body>
</html>

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/shili/s53609.shtml