<script type="text/javascript">
function changeLineHeight()
document.getElementById("div1").style.lineHeight="2";
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.
<input type="button" onclick="changeLineHeight()" value="Change line-height" />