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>
<div class="header"><h2>Abakada CSS Demo: <b>text-align Attribute</b></h2></div>
<hr size=1 width=92%>

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

<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.<br>

<br>Justified mode spaces out the content to line up its left and right edges to the left and right margins of the containing element, except for the last line.<br>

<br>Try resizing the window when in justify mode to see the effect. </p>

<center>

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

<table cellpadding=5>
<tr>
   <td>Options</td>
   <td><select name="units" id="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 ( ) {
   document.getElementById ('units').selectedIndex = 0;
   chgProp ( units.value );
}
//-->
</script>

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

</body>
</html>