tableで表を作成してますが、一行何もないスペースを作って表示してみると潰れてしまうため他のtableと同じ幅にしたいのですが、どうすればよろしいでしょうか。
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="WebApplication_hara_kadai._01login.login" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link rel="stylesheet" href="01login.css"/> <title></title> <style type="text/css"> #Button1 { width: 148px; margin-top: 0px; } #form1 { text-align: center; height: 90px; width: 553px; } #Label5{ margin-left: 37px; margin-right: 0px; } .auto-style1 { width: 100px; text-align:center; } .auto-style2 { width: 100px; color: #FF0000; } .auto-style3 { position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); width: 310px; height: 109px; } .auto-style4 { white-space: normal; } </style> </head> <body style="height: 125px; width: 1140px"> <form id="form1" runat="server"> <br /> <p> <asp:Label ID="Label5" runat="server" ForeColor="Red" Width="548px" Height="55px" Font-Size="X-Large" Visible="false"></asp:Label></p> <br /> <br /> <table class = "auto-style3" border="1" > <tr> <td class="auto-style1"> <asp:Label ID="Label1" runat="server" Text="Label">ID</asp:Label> </td> <td class="auto-style2"> <asp:TextBox ID="TextBox1" runat="server" Width="150px" ></asp:TextBox></td> </tr><tr> <td></td> <td class="auto-style4"> <asp:Label ID="Label8" runat="server" class="error" ForeColor="Red" ></asp:Label> </td> </tr> <tr> <td class="auto-style1"><asp:Label ID="Label2" runat="server" >パスワード</asp:Label> </td> <td class="auto-style2"> <asp:TextBox ID="TextBox2" runat="server" Width="150px" TextMode = "Password"></asp:TextBox> </td> </tr> <tr> <td></td> <td class="auto-style4"> <asp:Label ID="Label9" runat="server" class="error" ForeColor="Red"></asp:Label> </td> </tr> <tr> <td class="auto-style1"> </td> <td class="auto-style2"> <asp:Button ID="Button1" runat="server" Text="次へ" OnCommand="Button1_Command" Width="157px" /> </td> </tr> <tr> <td class="auto-style1"></td> <td class="auto-style2"> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="../03input1/input1.aspx">新規登録はこちら</asp:HyperLink> </td> </tr> </table> </form> </body> </html>