Recently, when I was using C# to make a web program, I encountered a problem:
When the TextBox's asp control is placed in the TD in the Table, the width is not set, and the TD will be greatly supported.
After checking the source code of the page after running, I found that the TextBox control finally displays input on the client.
So consider using CSS to set the width and height for each control. However, after setting it to 100%, the border will be blocked. After adjustment, the width will be set to 97%.
Copy the code