主题应用

今天学习了主题的简单应用,下面就来看看我的小成果吧

<asp:Image runat="server" skinid="top" ImageUrl="~/images/AdminLogin_top.png"/>
<asp:Image runat="server" skinid="left" ImageUrl="~/images/AdminLogin_left.png"/>
<asp:Image runat="server" skinid="right" ImageUrl="~/images/AdminLogin_right.png"/>

body {
}
.content
{
width:950px;
margin:0 auto;
}
.AdminLogin_top
{
width:950px;
height:298px;
}
.main
{
width:950px;
height:428px;
float:left;
}
.main-left
{
height:428px;
width:265px;
float:left;
}
.main-center
{
height:428px;
width:387px;
float:left;
}
.main-right
{
width:298px;
height:428px;
float:left;
}

<%@ Page Language="C#" StylesheetTheme="Theme1" 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></title>
<link href="App_Themes/Theme1/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div class="content">
<div class="AdminLogin_top">
<asp:Image runat="server" SkinID="top"/>
</div>
<div class="main">
<div class="main-left">
<asp:Image ID="Image1" runat="server" SkinID="left"/>
</div>
<div class="main-center" style="background-image:url('images/AdminLogin_center.png')">
<table style="margin-top:5px;width:387px;text-align:center">
<tr><td>
<asp:RadioButton runat="server" Text="考试管理" GroupName="1"/>&nbsp&nbsp&nbsp&nbsp&nbsp
<asp:RadioButton runat="server" Text="系统管理" GroupName="1" />
</td></tr>
<tr align="left"><td>
&nbsp&nbsp姓 名:<asp:TextBox runat="server" Width="200px"/>
</td></tr>
<tr align="left"><td>
&nbsp&nbsp密 码:<asp:TextBox ID="TextBox1" runat="server" Width="200px"/>
</td></tr>
<tr></tr>
</table>
<div style="margin-top:73px;margin-left:10px;">
<asp:ImageButton runat="server" ImageUrl="~/images/loginbtn.png"/>
</div>
</div>
<div class="main-right">
<asp:Image ID="Image3" runat="server" SkinID="right"/>
</div>
</div>
</div>
</form>
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值