开发者

Is there an equivalent of the cols attribute for tds?

开发者 https://www.devze.com 2023-03-20 18:10 出处:网络
Is there an equivalent of the cols attribute for tds? Ex. (I know this doesn\'t work) <td cols=\"40\"> some text </td&g开发者_JAVA技巧t;

Is there an equivalent of the cols attribute for tds?

Ex. (I know this doesn't work)

<td cols="40"> some text </td&g开发者_JAVA技巧t;

EDIT: sorry, I meant character limit per row =)


I assume you mean the cols attribute you can use in textarea element. This would be similar to the width attribute.

<td width="40">some text</td>

However, this is a deprecated attribute and should be done with styles.

0

精彩评论

暂无评论...
验证码 换一张
取 消