Category Archives: HTML

Control Stretching Textboxes, Beyond 100%

In ASP.NET I have created a form inside of a fixed width table, and added css to make my textboxes 100% width. For some reason, a long value assigned on the server side was stretching my textbox way past the the defined width of the table cell.

Initial Code:


Wrap the textbox inside a div with relative position, then give the textbox an absolution position.