PDA

View Full Version : سوال: تغییر سایز صفحات وب



adineh67
پنج شنبه 08 مرداد 1394, 09:44 صبح
سلام
چطور میشه سایز بدنه ی فرم رو تغییر داد؟
من میخوام طبق عکسی که میبینید حاشیه های قرمز اضافه در فرمم رو حذف کنم،ممنون میشم راهنمایی کنید


133715

پیام حیاتی
پنج شنبه 08 مرداد 1394, 11:04 صبح
کدها رو قرار بدید

adineh67
پنج شنبه 08 مرداد 1394, 17:29 عصر
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>

<style type="text/css">

.BNazanin
{
font-family : 'BNazanin';
font-size : 14px;
}
.style1
{
width: 101%;
height: 661px;
font-family: Arial, Helvetica, sans-serif;
}
.style3
{
height: 66px;
}
.style2
{
width: 1507px;
}
.style4
{
width: 239px;
}

a:link, a:visited
{
color: #034af3;
}

</style>

</head>
<body >
<form id="form1" runat="server" style="overflow: auto">

<div align="center" style="width: 99%" class="BNazanin">

<table class="style1" align="center">
<tr>
<td bgcolor="#336699" colspan="2" class="style3">
</td>
</tr>
<tr>
<td class="style2" bgcolor="White" style="border: medium solid #336699;"
valign="top" dir="rtl">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
<br />
<br />
</td>
<td align="center" class="style4" style="border: medium solid #336699;"
valign="top" dir="rtl">
<br />
<br />
</td>
</tr>
</table>

</div>

</form>
</body>
</html>

xsbehx
شنبه 10 مرداد 1394, 00:36 صبح
اینجا رو یه نگاه بنداز
(http://barnamenevis.org/showthread.php?501840-%D8%AA%D8%B5%D9%88%DB%8C%D8%B1-%D8%AA%D9%85%D8%A7%D9%85-%D8%B5%D9%81%D8%AD%D9%87)