为什么asp.net2.0页一提交就变形解决方案

为什么asp.net2.0页一提交就变形为什么asp.net2.0页一提交就变形我的asp.net页中有一个表格,里放了一些tex

为什么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= "请输入标题! "> </asp:RequiredFieldValidator> </strong> </td>
                                <td   style= "width:   300px;   height:   20px ">


                                        <strong> 标题图片 <asp:TextBox   ID= "imageurl "   runat= "server "   Height= "19px "   Width= "185px "   CssClass= "textbox "> </asp:TextBox> </strong> </td>
                        </tr>
                        <tr>
                                <td   style= "width:   285px;   height:   26px; ">
                                        <strong> 所属栏目 </strong> : <asp:DropDownList   ID= "DropDownList1 "   runat= "server ">
                                                <asp:ListItem   Value= "1 "> 家居 </asp:ListItem>
                                        </asp:DropDownList> </td>
                                <td   style= "width:   300px;   height:   26px; ">
                                        <strong> 日期 <asp:TextBox   ID= "News_Datetimes "   runat= "server "   Height= "16px "   Width= "148px "   CssClass= "textbox "> </asp:TextBox> </strong> </td>
                        </tr>
                        <tr>
                                <td   style= "width:   285px;   height:   25px; ">
                                        <strong> 信息来源或作者 <asp:TextBox   ID= "News_Source "   runat= "server "   CssClass= "textbox "   Height= "18px "
                                                Width= "150px "> </asp:TextBox> </strong> </td>
                                <td   style= "width:   300px;   height:   25px; ">
                                        <strong> 搜索关键字 </strong> <asp:TextBox   ID= "News_Key "   runat= "server "   Height= "16px "   CssClass= "textbox "> </asp:TextBox> </td>
                        </tr>


                        <tr>
                                <td   colspan= "2 "   style= "height:   343px ">
                                        <FTB:FreeTextBox   ID= "FreeTextBox1 "   runat= "server "   ButtonImagesLocation= "InternalResource "
                                                ImageGalleryPath= "~/Manager/upfiles "   JavaScriptLocation= "InternalResource "   Language= "zh-cn "
                                                SupportFolder= "~/FreeTextBox/ "   ToolbarImagesLocation= "InternalResource "   ToolbarLayout= "ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker,Cut,Copy,Paste,Delete,InsertTable,InsertImageFromGallery,Preview,SelectAll,WordClean|Undo,Redo,Print,Save,Bold,Italic,Underline,Strikethrough,Superscript,Subscript,RemoveFormat,JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule,InsertDate,InsertTime "
                                                Width= "615px ">
                                        </FTB:FreeTextBox>
                                        <br   />
                                        <asp:Button   ID= "save "   runat= "server "   Text= "保存 "   Width= "55px "   OnClick= "save_Click "   />
                                        &nbsp;&nbsp;
                                        <asp:Button   ID= "Button2 "   runat= "server "   Text= "清空 "   Width= "60px "   /> </td>
                        </tr>
                </table>
        </div>
        </form>
</body>
</html>

[解决办法]
是不是提交后台代码Response.Write了什么东西?
[解决办法]
是不是在postback以后用了Response.Write语句
[解决办法]
提交以后是不是用了response.write
如果用了就会导致样式改变
去掉就好了

[解决办法]
反正你用的是表格。
干脆把
<!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 " >
换成
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN " >
<HTML>
[解决办法]
换了以后随便你用response.write了。
[解决办法]
為什麼一定要用Response.Write().不可以用lable來顯示這些訊息嗎?
[解决办法]
显示讯息用Label标签,在代码里用Labelid.Text显示
还有,在样式表内与控件代码内的长宽要在你的电脑允许的像素范围内