html - 我应该如何将这些按钮放在 table 的右侧?

标签 html css html-table

我有这张表: enter image description here 我应该如何让按钮保持在每个表格行的最右侧?

最佳答案

尝试下面的一个代码:

table td:last-child{
text-align:right;
}

或者,

table td:last-child{
float:right;
}

关于html - 我应该如何将这些按钮放在 table 的右侧?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34471928/

相关文章:

html - 在移动 View 中折叠网格项时避免双重网格间隙

html - CSS 在 IE 中不起作用,但在 Chrome 中起作用

jquery - 由于切换更改而更新 jQuery 时代码中断

html - 使用 @keyframes-dash 的 SVG 动画线条绘图未在 Chrome 和 Safari 上显示

css - 覆盖 html css 中的跨度并使用 TD

javascript - 打开可折叠时将网站的其余部分向下移动

asp.net - 样式嵌套在另一种样式的 asp.net View 中,但不确定如何嵌套

css - 隐藏元素的过渡

javascript - HTML 表 : border-collapse and visibility collapse of tr

javascript - 将 html 表中的第一个 td 重新设计为 rowspan