我的页脚需要一些帮助,它的横向过度伸展,我已将宽度设置为100%,因此它理论上应该是页面的大小。任何帮助将非常感激。页脚过度膨胀
HTML
<footer>
<p>Mandurah Jetty Maintenance | Copyright © 2017</p>
</footer>
CSS
footer{
padding: 20px;
color: #ffffff;
background-color: #333;
text-align: center;
width: 100%;
position: absolute;
left: 0;
bottom: 0;
overflow: hidden;
}
你可以添加一个屏幕截图你的意思是?如果它直接走向边缘,你的意思是过度延伸? – Xander
@EthanBristow是的,在这里http://prntscr.com/ev2e1u,你看到页脚扩展使得页面水平变长:(你会发现任何修补程序都会被大大地渲染:) – Bailee
你可以尝试工作中断。这里istruction https://www.w3schools.com/cssref/css3_pr_word-break.asp – MarcoSantino