button - 我想将链接从侧边栏底部移动到顶部
问题描述
我使用在线模板在 Google 表格中创建了一个侧边栏。它运行良好,但更新和重置按钮位于底部,我希望它们位于侧边栏列表的顶部。
我曾尝试根据高度和其他因素更改按钮代码,但似乎无法让它变得令人满意。
这是我认为需要更改代码的地方:
.button,
button,
input[type="button"],
input[type="image"],
input[type="reset"],
input[type="submit"] {
background: -moz-linear-gradient(top, #f5f5f5, #f1f1f1);
background: -ms-linear-gradient(top, #f5f5f5, #f1f1f1);
background: -o-linear-gradient(top, #f5f5f5, #f1f1f1);
background: -webkit-linear-gradient(top, #f5f5f5, #f1f1f1);
background: linear-gradient(top, #f5f5f5, #f1f1f1);
border: 1px solid #dcdcdc;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
color: #333;
cursor: default;
font-family: arial, sans-serif;
font-size: 11px;
font-weight: bold;
height: 29px;
line-height: 27px;
margin: 0;
min-width: 72px;
outline: 0;
padding: 0 8px;
text-align: center;
white-space: nowrap;
}
<body>
<div class="container"></div>
<div class="buttons">
<p>
<button class="action" id="action">Add Rejections</button>
<button id="btn">Reset List</button>
</p>
</div>
我最终希望这两个按钮位于侧边栏列表的顶部,而不必滚动到底部。任何帮助,将不胜感激。
解决方案
推荐阅读
- javascript - s3 未上传文件并收到 SignatureDoesNotMatch 错误
- javascript - 如何显示 3d 漏斗的连接器?
- php - 如何解决codeigniter“新闻”部分的页面空白问题?
- bitwise-operators - 如何仅使用按位运算符找到小于 N 的 m 的最大倍数?
- powershell - 仅传递提供的参数
- c# - c#数据表插入到具有大记录集的excel很慢4500条记录超过6分钟
- pandas - 如何修复 Pandas Scatter_matrix 中过长的轴标签?
- azure - 在 Azure Maps 中更改样式缓慢
- icalendar - Ical 导入事件不起作用事件我的 ical 文件没有错误
- node.js - 如何使用 Nodejs API 在 DigitalOcean Bucket 中创建文件夹?