底部的文字相对于 body 容器定位 
 

body { position: relative; }  .footer { position: absolute; bottom: 0px; left: 50%; margin-left: -footer容器宽度的一半px(比方-200px;) }

<body style="height: 2000px;"><div class="footer" style="width: 400px;">0000w1234131</div></body> 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-01-16
  • 2021-08-12
  • 2022-12-23
猜你喜欢
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2021-09-15
  • 2021-08-23
相关资源
相似解决方案