textAlign.aspx font size:
<html>
<head>
<title>Abakada CSS Demo: text-align 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: text-align Attribute</h2></div>
<hr size=1 width=92%>

<h5 align="center">This example shows the effects of applying the different values possible for the CSS <b>text-align</b> style attribute.</h5>

<p id="msg">Select from the text-align options below to see how the style is applied, and note the resulting CSS syntax for the style declaration. </p>

<center>

<h5 id="theSyntax">Syntax { text-align: left }</h5>

<table cellpadding=5>
<tr>
   <td>Options</td>
   <td><select name="units" tabindex=1 onchange="chgProp ( this.value )">
      <option value="left">left
      <option value="right">right
      <option value="center">center
      <option value="justify">justify
   </select></td>
   <td><button onclick="reset ( )">Reset</button></td>
</tr>
</table>

</center>

<script language="JavaScript">
<!--
function chgProp ( ta ) {
   msg.style.textAlign = ta;
   txt = "Syntax { text-align: " + ta + " }";
   theSyntax.innerText = txt;
}

function reset ( ) {
   units.value = "left"
   msg.style.textAlign = "left";
   theSyntax.innerText = "Syntax { text-align: left }";
}
//-->
</script>

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

</body>
</html>