CustomValidator2.aspx font size:
<html>
<head>
<title>CustomValidator.ClientValidationFunction Sample</title>
<link rel="stylesheet" href="/shared/netdemos.css">

<script language="C#" runat="server">
   void serverValidate ( object src, ServerValidateEventArgs arg ) {
      arg.IsValid = arg.Value.Length >= 8;
   }

   void chkIsValid ( object src, EventArgs e ) {
      if ( Page.IsValid  ) message.InnerText = "Page has passed validation.";
   }

</script>

<script language="javascript">
<!--
   function validateLength ( src, arg ) {
      arg.IsValid = arg.Value.length >= 8;
      if ( !arg.IsValid ) message.innerText = "Enter user name:";
   }
// -->
</script>

</head>

<body>
<!-- #include virtual="~/shared/top.inc -->
<div class="header"><h2>CustomValidator.ClientValidationFunction Sample</h2></div>

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

<center>
<form runat="server">
   <span id="message" runat="server">Enter user name:</span>

   <p><asp:textbox id="myTextBox" size=8 runat="server" />

   <br>

   <asp:requiredfieldvalidator runat="server"
      controltovalidate="myTextBox"
      errormessage="Entry required." display="none" />

   <asp:customvalidator runat="server"
      controltovalidate="myTextBox"
      clientvalidationfunction="validateLength"
      onServerValidate="serverValidate"
      errormessage="Username cannot be less than eight characters" display="none" />

   <p>
   <asp:button runat="server" text="Validate" onClick="chkIsValid" />

   <asp:validationsummary runat="server"
      displaymode="singleparagraph" showsummary=false showmessagebox />

</form>
</center>

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

</body>
</html>