Home > Article > Web Front-end > Is there any way to always put something like copyright at the bottom of the entire web page_html/css_WEB-ITnose
Is there any way to always place copyright-like content at the bottom of the entire web page?
Regardless of whether there is a scroll bar or not, it will always be at the bottom, body {height:100%}
position: absolute;
bottom: 0px;
Absolute positioning, below. The one upstairs can be achieved.
position: absolute;
bottom: 0px;
The positioning is at the bottom, but not in the center. What to do
position: absolute;
bottom: 0px;
The positioning is at the bottom, but not in the center. What to do
<div style="width:100%; position: absolute;bottom: 0px;" > <div style="width:500px;border:1px solid;margin:0 auto; " >bottom</div></div>
position: absolute;
bottom: 0px;
left:0;
right:0;
margin:0 auto;
width: Set a width yourself