J
John
please look at below:
default.aspx
=========
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div id="div0">
<div id="div1" style="width: 125px; height: 83px" class="div1">
<asp:CheckBox ID="CheckBox1" runat="server" ForeColor="White"
Text="checkbox1" /><br />
<asp:CheckBox ID="CheckBox2" runat="server" ForeColor="White"
Text="checkbox2" /><br />
</div>
<div id="div2" class="div2" style="width: 100px; height: 100px">
<br />
<asp:RadioButton ID="RadioButton1" runat="server" Text="radiobutton1"
/><br />
<asp:RadioButton ID="RadioButton2" runat="server" Text="radiobutton2" />
</div>
</div>
</form>
</body>
</html>
Stylesheet.css:
=============
body {
}
#div1
{
background-color:Blue;
}
#div2
{
margin-left:200px;
margin-top:-90px;
background-color:Orange;
}
question:
========
what should i do to make checkbox1 and checkbox2 able to click? and what
mistakes i've made?
thanks a lot!
default.aspx
=========
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div id="div0">
<div id="div1" style="width: 125px; height: 83px" class="div1">
<asp:CheckBox ID="CheckBox1" runat="server" ForeColor="White"
Text="checkbox1" /><br />
<asp:CheckBox ID="CheckBox2" runat="server" ForeColor="White"
Text="checkbox2" /><br />
</div>
<div id="div2" class="div2" style="width: 100px; height: 100px">
<br />
<asp:RadioButton ID="RadioButton1" runat="server" Text="radiobutton1"
/><br />
<asp:RadioButton ID="RadioButton2" runat="server" Text="radiobutton2" />
</div>
</div>
</form>
</body>
</html>
Stylesheet.css:
=============
body {
}
#div1
{
background-color:Blue;
}
#div2
{
margin-left:200px;
margin-top:-90px;
background-color:Orange;
}
question:
========
what should i do to make checkbox1 and checkbox2 able to click? and what
mistakes i've made?
thanks a lot!