<head>
<title>网上购物商城</title>
<link href="/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="Form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div class="MainDiv">
<div id="TopImage">
</div>
<div id="Menu" style="text-align: right">
<a href="/default.aspx">商城首页</a> | <a href="/pages/regcustomer.aspx">个人资料</a> | <a
href="/pages/shoppingcart.aspx">购物车</a> | <a href="/pages/ordersinfo.aspx">订单信息</a> | <a
href="/help.aspx">使用帮助</a> | <a href="/logout.aspx">注销</a> </div>
<div>
<table border="0" cellpadding="0" cellspacing="0" width="778">
<tr>
<td style="border: 1px; border-left-style: solid; border-left-color: #CACDD2; border-right-style: solid;
border-right-color: #CACDD2; width: 10px">
</td>
<td style="background-color: #ECECEC; height: 200px; width: 190px" valign="top">
<table cellpadding="0" cellspacing="0" style="border: 0px; width: 190px">
<tr>
<td align="center" style="height: 200px; background-image: url(/images/bg11.jpg)">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="margin-top: 20px; width: 90%">
<% if (!success) {%>
<tr>
<td style="height: 30px; width: 80px">
用户名:</td>
<td>
<asp:TextBox ID="TextBoxUserName" runat="server" Style="width: 100px;"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 30px;">
密 码:</td>
<td>
<asp:TextBox ID="TextBoxPassword" runat="server" Style="width: 100px;" TextMode="password"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 30px">
<asp:ImageButton ID="ImageButtonLogin" runat="server" CausesValidation="false" Height="19"
ImageUrl="/images/btn1.gif" OnClick="ImageButtonLogin_Click" Width="46" /> <a
href="/pages/regCustomer.aspx?Tag=0"><img alt="注册" height="19" src="/images/zc.gif"
width="46" /></a></td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 30px">
<a href="/pages/FindPwd.aspx">忘记密码</a></td>
</tr>
<%} else{ %>
<tr>
<td colspan="2" style="height: 30px; text-align:left">
<%=strCustomerID%>
,欢迎您光临!<br />
我是店小二Lansine,我非常感谢您能光临本店,我将以最优质的产品和公道的价格,竭诚为您服务!最后祝您购物愉快!</td>
</tr>
<%} %>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ImageButtonLogin" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td align="center" style="background-color: #ECECEC">
<table border="0" cellpadding="0" cellspacing="0" width="169">
<tr>
<td align="center" colspan="2" style="height: 50px">
<img alt="销售排行" height="26" src="/images/tab_011.jpg" width="169" /></td>
</tr>
<%=strPopGoodsList%>
</table>
</td>
</tr>
</table>
</td>
<td align="center" style="border: 1px; border-left-style: solid; border-left-color: #CACDD2;
border-right-style: solid; border-right-color: #CACDD2; width: 566px;" valign="top">
<div class="lineImage ">
</div>
<div class="ContentDiv">
<div class="wsgwImage">
</div>
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolderMain" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="BottomImage">
</div>
<div style="text-align: center; width: 100%; height: 80px; clear: left; float: left;">
<a href="/pages/managelogin.aspx" target="_blank">管理入口</a><br />
CopyRight © 2005-2007 LANSINE All Right Reserved.<br />
LANSINE网上商城. 版权所有 E-mail:[email protected]
</div>
</div>
</form>
</body>上面是我做的一个模板页,如果在界面里拖控件很麻烦弄出来吧?
界面一般是手写html代码么?那怎么知道界面布局呀?有什么好的方法么?
谢谢给出好的意见!
<title>网上购物商城</title>
<link href="/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="Form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div class="MainDiv">
<div id="TopImage">
</div>
<div id="Menu" style="text-align: right">
<a href="/default.aspx">商城首页</a> | <a href="/pages/regcustomer.aspx">个人资料</a> | <a
href="/pages/shoppingcart.aspx">购物车</a> | <a href="/pages/ordersinfo.aspx">订单信息</a> | <a
href="/help.aspx">使用帮助</a> | <a href="/logout.aspx">注销</a> </div>
<div>
<table border="0" cellpadding="0" cellspacing="0" width="778">
<tr>
<td style="border: 1px; border-left-style: solid; border-left-color: #CACDD2; border-right-style: solid;
border-right-color: #CACDD2; width: 10px">
</td>
<td style="background-color: #ECECEC; height: 200px; width: 190px" valign="top">
<table cellpadding="0" cellspacing="0" style="border: 0px; width: 190px">
<tr>
<td align="center" style="height: 200px; background-image: url(/images/bg11.jpg)">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table border="0" cellpadding="0" cellspacing="0" style="margin-top: 20px; width: 90%">
<% if (!success) {%>
<tr>
<td style="height: 30px; width: 80px">
用户名:</td>
<td>
<asp:TextBox ID="TextBoxUserName" runat="server" Style="width: 100px;"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 30px;">
密 码:</td>
<td>
<asp:TextBox ID="TextBoxPassword" runat="server" Style="width: 100px;" TextMode="password"></asp:TextBox>
</td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 30px">
<asp:ImageButton ID="ImageButtonLogin" runat="server" CausesValidation="false" Height="19"
ImageUrl="/images/btn1.gif" OnClick="ImageButtonLogin_Click" Width="46" /> <a
href="/pages/regCustomer.aspx?Tag=0"><img alt="注册" height="19" src="/images/zc.gif"
width="46" /></a></td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 30px">
<a href="/pages/FindPwd.aspx">忘记密码</a></td>
</tr>
<%} else{ %>
<tr>
<td colspan="2" style="height: 30px; text-align:left">
<%=strCustomerID%>
,欢迎您光临!<br />
我是店小二Lansine,我非常感谢您能光临本店,我将以最优质的产品和公道的价格,竭诚为您服务!最后祝您购物愉快!</td>
</tr>
<%} %>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ImageButtonLogin" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td align="center" style="background-color: #ECECEC">
<table border="0" cellpadding="0" cellspacing="0" width="169">
<tr>
<td align="center" colspan="2" style="height: 50px">
<img alt="销售排行" height="26" src="/images/tab_011.jpg" width="169" /></td>
</tr>
<%=strPopGoodsList%>
</table>
</td>
</tr>
</table>
</td>
<td align="center" style="border: 1px; border-left-style: solid; border-left-color: #CACDD2;
border-right-style: solid; border-right-color: #CACDD2; width: 566px;" valign="top">
<div class="lineImage ">
</div>
<div class="ContentDiv">
<div class="wsgwImage">
</div>
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolderMain" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="BottomImage">
</div>
<div style="text-align: center; width: 100%; height: 80px; clear: left; float: left;">
<a href="/pages/managelogin.aspx" target="_blank">管理入口</a><br />
CopyRight © 2005-2007 LANSINE All Right Reserved.<br />
LANSINE网上商城. 版权所有 E-mail:[email protected]
</div>
</div>
</form>
</body>上面是我做的一个模板页,如果在界面里拖控件很麻烦弄出来吧?
界面一般是手写html代码么?那怎么知道界面布局呀?有什么好的方法么?
谢谢给出好的意见!
解决方案 »
- 求个对色问题的算法。只要能解出来就行。不管什么算法。
- 弱弱的问:获取机器码这机器码到底指的是什么。。。
- 奇怪问题
- MDI模式,当打开一个窗体时,在某个TextBox回车,则会执行TextBox_PreesKey事件。
- 问一个小问题,ListView的排序问题。
- 关于插入数据到数据库,哪一种方法好一些(主要是速度)?
- C# 连接数据库问题,我明明指定了sa用户,但NETWORK SERVICE失败?!!
- 怎样做一个可以像excel里从web获取数据
- 复制、粘帖问题
- 能不能用代码使DataGrid里的一个表格得到focus?
- 很棘手的问题dll文件调用 功能失效
- C# contextMenuStrip1 鼠标经过的一级菜单更改颜色,如何实现?
2.当然用上script+css也好看的.
vs在界面上设计能力很差的.
什么是html?
Dreamweaver CS4 是 Dreamweaver 8的升级版 引入了很多代码提示功能, 很多JS的代码不需要自己去记了。
所以打的很爽。 VS里面好像没这些功能!!