bezar_405
دوشنبه 28 آذر 1390, 07:35 صبح
:متفکر:با سلام من تو سایتم از یه مسترپیج استفاده کردم که شامل سه قسمت هدر وفودرو وقسمت وسط سایتتو این قسمت از یه جدول استفاده کردم که شامل یک سطر و سه ستون ودر هر کدام پلیس هولدر هم استفاده کردم الان میخوام وقتی من یه ایمیج میزارم قسمت وسط یا سلول دو م جدوال به هر اندازه که این ایمیج است در سلول دوم جای بگیره و سلول اول وسوم بدون تغییر باقی بماندو در این پروژه من وقتی یه فایل یا چیزی در سلول دوم گذاشته میسه سلول اول و سوم نیز با سلول دوم تقییر میکنه من حالا می خوام این سلولا از اطلاعات خودشان استفاده کننن و به اندازه مودرد نظر خودشان لطفا راهنمایی بفرمایید
با تشکر:خجالت:
اینم سورس مسترپیج مه:متفکر:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPagedefault.master.cs" Inherits="MasterPagedefault" %>
<!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>
<style type="text/css">
.heder{
width:1060px;
height:168px;
}
.fother
{
width:1060px;
height:70px;
position:absolute;
top: 285px;
left: 117px;
}
.bodydiv
{
width:1060px;
position:absolute;
direction:rtl;
top: 186px;
right: 116px;
height:80px;
background-color:#f237ba;
}
.bodyplaceholder
{
width:1060px;
position:absolute;
direction:inherit;
background-color:White;
top: 267px;
left: 117px;
}
</style>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body bgcolor="#000000">
<form i ="form1" runat="server">
<center>
<div class="heder">
<asp:Image ID="Image1" runat="server" ImageUrl="image/baner_sait .JPG" />
</div>
</center>
<center >
<table style="height: 102px">
<tr>
<td width="1060px">
<center> <div class="bodydiv" >
</div></center>
</td>
</tr>
<tr>
<td>
<div class="bodyplaceholder">
hghghghgh
</div></td></tr></table></center>
<div class="fother">
<asp:Image ID="Image2" runat="server" ImageUrl="image/baner_sait 1 copy.jpg" />
</div>
</form>
</body>
</html>
با تشکر:خجالت:
اینم سورس مسترپیج مه:متفکر:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPagedefault.master.cs" Inherits="MasterPagedefault" %>
<!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>
<style type="text/css">
.heder{
width:1060px;
height:168px;
}
.fother
{
width:1060px;
height:70px;
position:absolute;
top: 285px;
left: 117px;
}
.bodydiv
{
width:1060px;
position:absolute;
direction:rtl;
top: 186px;
right: 116px;
height:80px;
background-color:#f237ba;
}
.bodyplaceholder
{
width:1060px;
position:absolute;
direction:inherit;
background-color:White;
top: 267px;
left: 117px;
}
</style>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body bgcolor="#000000">
<form i ="form1" runat="server">
<center>
<div class="heder">
<asp:Image ID="Image1" runat="server" ImageUrl="image/baner_sait .JPG" />
</div>
</center>
<center >
<table style="height: 102px">
<tr>
<td width="1060px">
<center> <div class="bodydiv" >
</div></center>
</td>
</tr>
<tr>
<td>
<div class="bodyplaceholder">
hghghghgh
</div></td></tr></table></center>
<div class="fother">
<asp:Image ID="Image2" runat="server" ImageUrl="image/baner_sait 1 copy.jpg" />
</div>
</form>
</body>
</html>