bbc_sh
پنج شنبه 03 مرداد 1387, 23:56 عصر
من یه جدول دارم با هدر و فوتر.حالا وقتی رنگ بک گراند رو انتخاب میکنم مرز بین خونه های جدول هم رنگ بک گراند رو میگیره و توی اجرا هم همینطوریه.چیکار باید کرد؟ در ضمن چرا اطراف صفحه رنگی نمیشه؟
<%@ Page Language="C#" 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>Untitled Page</title>
</head>
<body class="html">
<form id="form1" runat="server">
<div style="background-color: #ff9966 " >
<br />
<br />
<br />
<br />
<br />
<br />
<table style="left: 162px; width: 600px; position: relative; top: -62px; height: 455px">
<tr>
<td style="width: 100px; height: 80px; background-color: #ffffff">
</td>
</tr>
<tr>
<td style="width: 100px; height: 203px; background-color: #ffffff">
</td>
</tr>
<tr>
<td style="width: 100px; background-color: #ffffff">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
<%@ Page Language="C#" 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>Untitled Page</title>
</head>
<body class="html">
<form id="form1" runat="server">
<div style="background-color: #ff9966 " >
<br />
<br />
<br />
<br />
<br />
<br />
<table style="left: 162px; width: 600px; position: relative; top: -62px; height: 455px">
<tr>
<td style="width: 100px; height: 80px; background-color: #ffffff">
</td>
</tr>
<tr>
<td style="width: 100px; height: 203px; background-color: #ffffff">
</td>
</tr>
<tr>
<td style="width: 100px; background-color: #ffffff">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>