بودای شرقی
سه شنبه 15 آذر 1390, 20:34 عصر
سلام
من میخوام توی master page که طراحی کردم علاوه بر header و footer یک منو در قسمت اصلی صفحه داشته باشد اگه کسی کمک کنه ممنون میشم.
این هم کد master page که طراحی کردم.
[code]
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="My_Web.Site1" %>
<!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">
<link href =StyleSheet.css rel =Stylesheet type ="text/css" />
<title>My Website</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div><center >
<img src =big_img1.jpg width="100%" height="250" />
</center>
<center >
<div style="width: 80%; height: 26px; margin-left: 0px;" class="font " >
<input type =text style="height: 37px" class ="search "/>
<input type =button value ="جستجو" style="height: 37px" class ="menu " />
<input type =button value ="در باره ما" style="height: 37px" class ="menu " />
<input type =button
value ="تماس با ما" style="height: 37px" class ="menu " />
<input type =button
value ="کاربران حاضر" style="height: 37px" class ="menu " />
<input type =button
style=" height: 37px;" value ="ورود" class ="menu " />
</div>
</center><br />
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
<br />
<center><div class ="footer " ><br />Design By buda<br />
2011
</div>
</center></div>
</div>
</form>
</body>
</html>
[code]
من میخوام توی master page که طراحی کردم علاوه بر header و footer یک منو در قسمت اصلی صفحه داشته باشد اگه کسی کمک کنه ممنون میشم.
این هم کد master page که طراحی کردم.
[code]
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="My_Web.Site1" %>
<!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">
<link href =StyleSheet.css rel =Stylesheet type ="text/css" />
<title>My Website</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div><center >
<img src =big_img1.jpg width="100%" height="250" />
</center>
<center >
<div style="width: 80%; height: 26px; margin-left: 0px;" class="font " >
<input type =text style="height: 37px" class ="search "/>
<input type =button value ="جستجو" style="height: 37px" class ="menu " />
<input type =button value ="در باره ما" style="height: 37px" class ="menu " />
<input type =button
value ="تماس با ما" style="height: 37px" class ="menu " />
<input type =button
value ="کاربران حاضر" style="height: 37px" class ="menu " />
<input type =button
style=" height: 37px;" value ="ورود" class ="menu " />
</div>
</center><br />
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
<br />
<center><div class ="footer " ><br />Design By buda<br />
2011
</div>
</center></div>
</div>
</form>
</body>
</html>
[code]