Thursday, 19 July 2012
How to Specify the space between lines in css
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
p.small {line-height:70%;}
p.big {line-height:200%;}
</style>
</head>
<body>
<p>
standard line-height.<br />
standard line-height.<br />
</p>
<p class="small">
smaller line-height.<br />
smaller line-height.<br />
smaller line-height.<br />
smaller line-height.<br />
</p>
<p class="big">
bigger line-height.<br />
bigger line-height.<br />
bigger line-height.<br />
bigger line-height.<br />
</p>
</body>
</html>
This post was written by: Bharathi
Bharthi is a professional blogger, web designer and front end web developer. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “How to Specify the space between lines in css”
Post a Comment