html - 表格的一列中的文本大小非常大,其他列中的文本大小非常小
问题描述
我的网页没有任何 CSS 或文本格式,但列文本非常大,而且在最糟糕的地方也是如此。
<table border="1">
<tr>
<th>Clinical Trials ID</th>
<th>Official Title</th>
<th>Contact Name</th>
<th>Affiliation</th>
<th>Phone</th>
<th>email</th>
</tr>
<tr>
<td><a href="https://clinicaltrials.gov/ct2/show/NCT01951326">NCT01951326</a></td>
<td>A Randomized, Double Blind, Placebo-controlled, Multicenter, Parallel Group Study to Assess the Efficacy and Safety of Fixed-dose Combination RHB-104 in Subjects With Moderately to Severely Active Crohn's Disease</td>
<td> Ira N Kalfus, MD</td>
<td>RedHill Biopharma</td>
<td> </td>
<td></td>
</tr>
</table>
我无法发布屏幕截图,因为我没有足够的代表
谢谢你的帮助
解决方案
为您的 td 设置一个宽度,否则它将占用它可以自由占用的所有空间。
<table border="1">
<tr>
<th>Clinical Trials ID</th>
<th>Official Title</th>
<th>Contact Name</th>
<th>Affiliation</th>
<th>Phone</th>
<th>email</th>
</tr>
<tr>
<td><a href="https://clinicaltrials.gov/ct2/show/NCT01951326">NCT01951326</a></td>
<td width="40%">A Randomized, Double Blind, Placebo-controlled, Multicenter, Parallel Group Study to Assess the Efficacy and Safety of Fixed-dose Combination RHB-104 in Subjects With Moderately to Severely Active Crohn's Disease</td>
<td> Ira N Kalfus, MD</td>
<td>RedHill Biopharma</td>
<td> </td>
<td></td>
</tr>
</table>
推荐阅读
- linux - /usr/local/ 为 Azure 规模集上的自定义 centos7 图像重置
- reactjs - 代码:'ERR_UNHANDLED_REJECTION' 开玩笑反应测试
- xamarin - 为什么我的 IsVisible 绑定不适用于 StackLayout ?Xamarin iOS
- xamarin.forms - xamarin 形成 UWP 应用程序 - 如何创建一个在概念上看起来/感觉类似于 MS Word 的“打开文件”对话框?
- css - 如何让 NuxtJS/Vuetify 组件占据其父容器的百分比?
- firebase - Update Firestore with user last active date
- sql - Group questions by answers with SQL
- flutter - Flutter and BoxShapeBorder
- python - Python: convert csv file to list of tuples
- ffmpeg - 从使用单播的 udp 流制作屏幕截图