
如何让表格横向排列
问题:
在生成第二个日历表格时,如何让它往右移动,而不是向上移动,从而避免遮挡“<span class="glyphicon glyphicon-triangle-bottom"></span>”和“确定”按钮?
答案:
要让表格横向排列,需要修改以下代码:
...
<div class="box">
...
<table class="table_cla" style="display: none; float:right">
...
</table>
</div>
...修改后的代码:
...
<div class="box" style="margin-right: 840px;">
...
<table class="table_cla" style="display: none; float:right">
...
</table>
</div>
...这样,点击“<span class="glyphicon glyphicon-triangle-bottom"></span>”按钮将生成水平排列在右侧的第二个日历表格,而不会遮挡其他元素。
以上就是如何让生成的日历表格横向排列,避免遮挡按钮?的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号