开发者

Is there an equivalent of the cols attribute for tds?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜