blob: f868a57b241c52874d864e8de1a93899f94e7e44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<html>
<head>
<title>[css3-text] text-indent</title>
<style>
div { width:80px; font: 10px Ahem; background-color:lightgray; }
.normal { text-indent: 4em; }
.indent { color: blue; }
.eachline { padding-left:4em; }
</style>
</head
<body>
<div class="normal">
<span class="indent">xxxx</span><br>xxxx<br>xxxx
</div>
<br>
<div class="normal">
<span class="indent">xxxx</span> xxxx xxxx
</div>
<br>
<div class="normal">
<span class="indent">xxxx</span><br><span class="indent eachline">xxxx</span><br><span class="indent eachline">xxxx</span>
</div>
<br>
<div class="normal">
<span class="indent">xxxx</span> xxxx<br><span class="indent eachline">xxxx</span>
</div>
</body>
</html>
|