为什么我的用户控件放大表格里就变大了而且就一个 td变宽
设计图1:设计图2效果图:用户控件设计如下<table cellpadding="0" cellspacing="0" class="style1" width="234px" style="height:240px">
<tr>
<td align="left" style="background-image: url('../../img/ck.gif'); width:234px">
<asp:Image ID="Image1" runat="server" ImageUrl="~/img/d5.gif" />
管理理念</td>
</tr>
<tr>
<td style="height:200px">
<asp:Label ID="Lbglln" runat="server"></asp:Label>
</td>
</tr>
</table>
页面的:
.style8
{
height: 240px;
width: 236px;
}
.style9
{
width: 236px;
}<div align="center" style="width:765px; height: 480px;">
<table cellpadding="0" cellspacing="0" width="765px" style="height: 429px">
<tr>
<td align="left" valign="top" class="style8">
<div align="left" style="width:234px; height:240px ">
</div>
</td>
<td>
1111111</td>
<td>
1111111</td>
</tr>
<tr>
<td class="style9">
</td>
<td>
</td>
<td>
</td>
</tr>
</table></div>
设计图1:设计图2效果图:用户控件设计如下<table cellpadding="0" cellspacing="0" class="style1" width="234px" style="height:240px">
<tr>
<td align="left" style="background-image: url('../../img/ck.gif'); width:234px">
<asp:Image ID="Image1" runat="server" ImageUrl="~/img/d5.gif" />
管理理念</td>
</tr>
<tr>
<td style="height:200px">
<asp:Label ID="Lbglln" runat="server"></asp:Label>
</td>
</tr>
</table>
页面的:
.style8
{
height: 240px;
width: 236px;
}
.style9
{
width: 236px;
}<div align="center" style="width:765px; height: 480px;">
<table cellpadding="0" cellspacing="0" width="765px" style="height: 429px">
<tr>
<td align="left" valign="top" class="style8">
<div align="left" style="width:234px; height:240px ">
</div>
</td>
<td>
1111111</td>
<td>
1111111</td>
</tr>
<tr>
<td class="style9">
</td>
<td>
</td>
<td>
</td>
</tr>
</table></div>
解决方案 »
- DataSet,DataCommand,DataAdapter,dataReader的区别是什么,分别起什么作用啊
- IIRF 二级域名
- 关于C#中ExecuteNonQuery()的问题
- 如何生存生成TXT表格
- 帮帮我。。前辈
- 好久没来了,送上100分,帮忙解决一个关于FCKEditor的问题?就是如何使上传的图片生成绝对路径
- ASP.net用户登录完了之后跳转会原来的访问页面
- 在当前页面如何调用另一个页面的控件???
- 请问如何解决在客户端用XMLHTTP发送中文XML文件时的乱吗问题
- 关于在.net中导入导出数据的问题!
- 求救!! 为什么有时没有获取到DataSet中Table的值?
- SQL将两条相似的数据合并为一条数据?
<table cellpadding="0" cellspacing="0" class="style1" width="234px" style="height:240px">
改下:
<table cellpadding="0" cellspacing="0" class="style1" style="height:240px;width:234px;">