日期:2014-05-19  浏览次数:20532 次

为什么asp.net2.0页一提交就变形
为什么asp.net2.0页一提交就变形
我的asp.net页中有一个表格,里放了一些textbox控件,为什么一提交它们高宽就会变形,刷新就不会变形,提交就会!都加了样式怎会变形

<%@   Page   Language= "C# "   AutoEventWireup= "true "   CodeFile= "jiaju_add.aspx.cs "   Inherits= "Manager_jiaju_add "   %>

<%@   Register   Assembly= "FreeTextBox "   Namespace= "FreeTextBoxControls "   TagPrefix= "FTB "   %>

<!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> 无标题页 </title>
        <link   href= "../Manager/Style2.css "   rel= "stylesheet "   type= "text/css "   />
</head>
<body>
        <form   id= "form1 "   runat= "server ">
        <div>
                <br   />
                <table   border= "1 "   cellpadding= "0 "   cellspacing= "0 "   style= "width:   600px;   font-size:   12px; ">
                        <tr>
                                <td   colspan= "2 "   style= "font-weight:   bold;   font-size:   14px;   background-image:   url(images/bg1.gif);
                                        height:   20px ">
                                        &nbsp;家居装修上传 </td>
                        </tr>
                        <tr>
                                <td   style= "width:   285px;   height:   20px ">
                                        <strong> 标题: <asp:TextBox   ID= "News_Title "   runat= "server "   Height= "15px "   Width= "205px "   CssClass= "textbox "> </asp:TextBox>
                                                <asp:RequiredFieldValidator   ID= "news_title_check "   runat= "server "   ControlToValidate= "News_Title "
                                                        ErrorMessage=