TH 单元显示 0% 25% 50% 75% 100% 填充
我需要可视化第 th 个单元格中的 0%..100%,我希望将其间隔开来填充 how 单元格,其次最好有一条线一直沿着列向下延伸以与我已经有了彩色条。谢谢
这是我的桌子的开始。我需要让列的百分比实际位于列的 25%、50% 和 75% 对应空间上。
echo "<table border ='1'>"; echo "<tr><th>Application Affected</th><th>Application Availability</th><th>0% 25% 50% 75%100%</th><th>Number of Incidents</th>;
I need to visualize the 0%..100% in the th cell and I would like to have it spaced to fill the how cell, and secondly it would be nice to have a line go all the way down the column to correspond with the colored bars I already have. Thanks
Here is the beginning of my table. I need to have the column with the percentages to actually go on the 25%, 50%, and 75% corresponding space of the column.
echo "<table border ='1'>"; echo "<tr><th>Application Affected</th><th>Application Availability</th><th>0% 25% 50% 75%100%</th><th>Number of Incidents</th>;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不要拉伸单元格,因为这会丢失表中同一列中的所有其他单元格。相反,在单元格内拉伸一些东西。
Don't stretch cells, as that'll throw off all the other cells in the same column in the table. Stretch something INSIDE a cell instead.