Monday, February 16, 2009

Fixing Problem with long Text in TextBox when width as percentage.

Usually when we set width as percentage for textboxes, we'll face an issue in IE. ie,while displaying long text, the length of the textbox will increase as according to the text length.So the whole design will collapse.Here is the solution,

Use css class for the table which contains the textbox,

table-layout: fixed;


Post a Comment