merge -r 60439:60440
[mono.git] / mcs / class / System.Web / Test / mainsoft / MainsoftWebApp / System_Web_UI_WebControls / WebControl / WebControl_CssClass.aspx
1 <%@ Register TagPrefix="cc1" Namespace="GHTWebControls" Assembly="MainsoftWebApp" %>
2 <%@ Page Language="c#" AutoEventWireup="false" Codebehind="WebControl_CssClass.aspx.cs" Inherits="GHTTests.System_Web_dll.System_Web_UI_WebControls.WebControl_CssClass" %>
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4 <HTML>
5         <HEAD>
6                 <title>WebControl_CssClass</title>
7                 <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
8                 <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
9                 <meta content="JavaScript" name="vs_defaultClientScript">
10                 <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
11                 <script LANGUAGE="JavaScript">
12         function ScriptTest()
13         {
14             var theform;
15                     if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
16                             theform = document.forms["Form1"];
17                     }
18                     else {
19                             theform = document.Form1;
20                     }
21         }
22                 </script>
23                 <!-- Styles to use in the test -->
24                 <style>
25                 .CssStyle1 { FONT-SIZE: large; Font-Bold: True; Font-Italic: True; ForeColor: orange; BackColor: blue; Alignment: Right; Wrapping: Wrap }
26                 .CssStyle2 { FONT-SIZE: small; Font-Bold: false; Font-Italic: false; ForeColor: darkgreen; BackColor: red; Alignment: center; Wrapping: no-wrap }
27                 </style>
28         </HEAD>
29         <body>
30                 <form id="Form1" method="post" runat="server">
31                         <P>&nbsp;</P>
32                         <P>&nbsp;</P>
33                 </form>
34         </body>
35 </HTML>