lineHeight.aspx font size:
<html>
<head>
<title>Abakada CSS Demo: line-height Attribute</title>
<link rel="stylesheet" href="/shared/netdemos.css">

<style type="text/css">
<!--
   button { background: #345; color: ddf; font: bold }
-->
</style>
</head>

<body>
<!-- #include virtual="~/shared/top.inc" -->

<div class="header"><h2>Abakada CSS Demo: line-height Attribute</h2></div>
<hr size=1 width=92%>

<center>

<h5>This example shows the effects of applying user-supplied values with the various length units possible for the CSS <b>line-height</b> style attribute.</h5>

<p id="msg">Enter a line-height value, and select a unit value from the options below to see how the style is applied. Note the resulting CSS syntax for the style declaration. </p>

<h5 id="theSyntax">Syntax { line-height: normal }</h5>

<table cellpadding=5>
<tr>
   <td>Enter value</td>
   <td><input type="text" name="height" size=3 maxlength=3 tabindex=1 onchange="chgProp ( this.value+units.value )"></td>
   <td>Select Unit</td>
   <td><select name="units" tabindex=2 onchange="chgProp ( height.value + this.value )">
      <option value="">
      <option value="px">px
      <option value="pt">pt
      <option value="mm">mm
      <option value="in">in
      <option value="em">em
      <option value="%">%
   </select></td>
   <td><button onclick="reset ( )">Reset</button></td>
</tr>
</table>

<p class="small"><b>Click or TAB to cycle thru the fields</b>. </p>

<p class="note">NOTE: <b>line-height</b> defaults to font height ( <b>em</b> ) values if no length unit is specified. </p>

</center>

<script language="JavaScript">
<!--
function chgProp ( lh ) {
   msg.style.lineHeight = lh;
   txt = "Syntax { line-height: " + lh + " }";
   theSyntax.innerText = txt;
}
function reset ( ) {
   height.value = "";
   units.value = "";
   msg.style.lineHeight = "normal";
   theSyntax.innerText = "Syntax { line-height: normal }";
}
//-->
</script>

<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->

</body>
</html>