I want to make the footer be at the bottom of my website that is bigger then the standard height of 100%. I can get it to the bottom of a 100% by 100% standard website but when i scroll down it just appears half way up my on my website where it would be if it was the standard 100% by 100%.
This is the code I have so far..
HTML file:
CSS file:
Code:
<footer class="footer">
<p>Project Z Copyright © 2017</p>
</footer>
Code:
.footer {
width:100%;
height:40px;
color: white;
background-color:#e8491d;
text-align: center;
position: absolute;
bottom: 0px;
}
I tried wrapping the footer with a div but that didn't change anything.
Any help will be appreciated
برچسب:
نویسنده: آیلین رضوانی
تاريخ: شنبه
17 تير
1396 ساعت: 21:34