将脚注定位到表格的左边缘响应式

问题描述

如何定位表格的脚注,使其始终与表格的左边缘对齐?

  .dg {
  border: solid 1px white;
  background: #538231a1;
}

td h3 a {
  color: #263819;
}

.lg {
  border: solid 1px white;
  background: #53823140;
}

td {
  padding: 0 1.125vw;
}

table {
  color: black;
}

td,th {
  border: solid 1px white;
<div style="display:flex;flex-direction:column;align-items:center">
  <h2>Weston Commercial Compost Options*</h2>
  <table style='text-align:center;margin:0 auto;border-collapse:collapse;'>
    <tr style='background:#538231;border-bottom:solid 2px white'>
      <th style='padding-right:3vw'></th>
      <th>Annual Cost</th>
      <th>Collection Bin</th>
      <th>Need<br>Collection Bin<br>Liners?</th>
      <th>Receive<br>Finished<br>Compost?</th>
    </tr>

    <tr class='dg'>
      <td style='padding:0 1vw'>
        <h3><a href='https://www.weston.org/952/Composting-Food-Waste'>Weston<br>Transfer Station</a></h3>
      </td>
      <td>Included in Primary and <br>Recycling Only permits</td>
      <td>Green bins located<br>near trash hopper</td>
      <td>No</td>
      <td>No</td>
    </tr>

    <tr class='lg'>
      <td>
        <h3><a href='https://blackearthcompost.com/residential-curbside-compost-pickup/'>Black Earth<br>Compost**</a></h3>
      </td>
      <td>$200 (weekly pickup)</td>
      <td>13-gallons on<br>wheels</td>
      <td>Required***</td>
      <td>Voucher for one<br>cubic foot bag</td>
    </tr>

    <tr class='dg'>
      <td>
        <h3><a href=' https://bootstrapcompost.com/residential-service/'>Bootstrap<br>Compost</a></h3>
      </td>
      <td>$572 (weekly pickup)<br> $390 (bi-weekly pickup)</td>
      <td>5-gallons,clean bucket<br>every pick-up</td>
      <td>No</td>
      <td>Yes,upon request</td>
    </tr>

    <tr class='lg'>
      <td>
        <h3><a href='https://www.citycompost.com'>City Compost</a></h3><br></td>
      <td>$168 (weekly pickup)<br>$96 (bi-weekly pickup)</td>
      <td>5-gallons; receive a<br>clean bucket every<br>pick-up</td>
      <td>No</td>
      <td>Yes,upon request</td>
    </tr>

    <tr class='dg'>
      <td>
        <h3><a href='http://www.orificewasterecycling.com/organic_foodwaste_collections.html'>Orifice<br>Recycling &<br>Refuse</a></h3>
      </td>
      <td>$180 (bi-weekly pickup;<br>weekly in summer)</td>
      <td>33-gallons on<br>wheels</td>
      <td>Recommended</td>
      <td>No</td>
    </tr>
  </table>

  <h4 style="text-align:left;margin-left:2vw;font-size:1.5vw">* This list is not an endorsement for any company. We recommend you review references before using.<br>** Will start service in Weston when more residents pre-register online.<br> *** Can use double lined brown paper bags or purchase certified compostable
    bin liners.</h4>
  <h2 style='text-align:center'>For more ideas on how to reduce your household waste visit<br>our <a href='https://www.sustainablewestonma.org/.swag/public/php/homeCtrl.php?place=resources-rrr'>reduce/reuse/recycle</a> page.</h2>
</div>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...