eventhandling.aspx font size:
<html>
<head>
<title>Responding to Page and Control Events</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<style>
   #button { background-color: maroon; color: gold;
      padding: 5; font-weight: bold }
   #button:hover { scale: 1.2; background-color: navy; color: lime;
      border-radius: 10px }
   img { border: 1px inset;
      box-shadow: 4px 4px 4px gray }
}
</style>

<script language="C#" runat="server">
void Page_Load ( object src, EventArgs e ) {
   // initialize button text
   if ( !IsPostBack ) {
      button.Text = thePanel.Visible ? "Hide me" : "Show me";
   }
}

void ShowHide ( object src, EventArgs e ) {
   thePanel.Visible = thePanel.Visible ? false : true;
   button.Text = thePanel.Visible ? "Hide me" : "Show me";
}

void getAdProps ( object src, AdCreatedEventArgs e ) {
   myLink.Text = e.AlternateText;
   myLink.NavigateUrl = e.NavigateUrl;
}
</script>
</head>

<body>
<div class="header"><h2>Responding to <b>Page and Control Events</b></h2></div>
<hr size=1 width=92%>

<div align="center">
<form runat="server">

   <asp:button id="button" runat="server" onClick="ShowHide" />

   <asp:panel id="thePanel" runat="server" visible=false>

      <p><asp:adrotator runat="server" width=320
         advertisementfile="~/shared/books_l.xml"
         onAdCreated="getAdProps"
         target="amzn" /></p>

      <p><asp:hyperlink id="myLink" target="amzn" runat="server" />

   </asp:panel>

</form>
</div>

<% if ( thePanel.Visible ) { %>

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

<% } %>

</body>
</html>