gpt4 book ai didi

html - 根据td扩展h4内容

转载 作者:太空宇宙 更新时间:2023-11-04 11:55:06 24 4
gpt4 key购买 nike

我添加了一个 <h4><td> 中标记元素并旋转 90 度,这样<td><h4>旋转。

问题:

如果我的<h4>内容更大或包含新行中的空格。我该如何解决这个问题?我需要将所有内容放在 <td> 中的一行中.

最佳答案

nowrap 属性就是你所需要的。

 <table>
<tr>
<th>Poem</th>
<th>Poem</th>
</tr>
<tr>
<td nowrap><h4>Never increase, beyond what is necessary</h4></td>
<td>Never increase, beyond what is necessary, the number of entities required to explain anything</td>
</tr>
</table>

关于html - 根据td扩展h4内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30322055/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com