User36583972 posted
Hi svibuk,
to leave space . if i need to leave 10 lines i need to use the above code 10 times is there any other way out
You can also try to use the CSS line-height Property
to set the line height for different <div>/<p>... elements. This can avoid repeated writing 10 times.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style>
p.small {
line-height: 0.7;
}
p.big {
line-height: 1.8;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<p>
is a paragraph with a standard line-height.<br/>
</p>
<p class="small">
This is a paragraph with a smaller line-height.<br/>
</p>
<p class="big">
This is a paragraph with a bigger line-height.<br/>
</p>
</div>
</form>
</body>
</html>
Best Regards,
Yong Lu