Open brianmhunt opened 10 years ago
One solution is to apply width: 100%
to the <td>
that the <textarea>
is found in.
Another solution is the application of the following CSS, per this discussion on StackOverflow
td {
max-width: 0px;
}
However one must note that this is based upon a seemingly undefined behaviour.
A preferable alternative would probably be:
table {
table-layout: fixed;
}
Wow, that is strange behavior. I think your research on this would be good to add to the documentation, since everyone's ideal solution will probably differ based on their situation.
When the
textarea
is in a fixed-width table, it does not work as expected. Here is an example:http://jsfiddle.net/bmh_ca/4QcaR/