WebControlBorderWidth.aspx font size:
<html>
<head>
<title>WebControl BorderWidth Property</title>
<link rel="stylesheet" href="/shared/netdemos.css">

<script language="C#" runat="server">
void Page_Load ( Object src, EventArgs e ) {
   if ( !IsPostBack ) {
      for ( int i=5; i <= 30; i+=5 ) {
         widthSelect.Items.Add ( i.ToString ( ) );
      }
      widthSelect.SelectedIndex = 2;
   }
   myTable.BorderWidth = int.Parse ( widthSelect.SelectedItem.Text );
}
</script>
</head>

<body>
<!-- #include virtual="~/shared/top.inc" -->
<div class="header"><h2>Dynamically Setting the BorderWidth Property of a Web Control</h2></div>

<hr size=1 width=92%>

<div align="center">
<form runat="server">
   <asp:table id="myTable" runat="server"
      cellpadding=10
      gridlines="Both"
      borderstyle="Ridge"
      backcolor="beige">

      <asp:tablerow>
         <asp:tablecell><img src="/shared/images/samp01.jpg" 
            width=150 height=150 border=0 alt=""></asp:tablecell>
      </asp:tablerow>

   </asp:table>

   <p>Select border width ( in pixels )
   <asp:dropdownlist id="widthSelect" autopostback runat="server" />

</form>
</div>

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

</body>
</html>