In this article I am describes about how to place the footer at the bottom ofthe page. A simple method using valid CSS to keep your footer at the bottom ofthe page. after a few years of practice I have finallyfigured out a neat way to do it. My method uses 100% valid CSS and it works inall standards compliant browsers. It also fails gracefully with older browsersso it's safe to use on any website.
<style type="text/css">
footer {
position: fixed;
left: 0px;
bottom: 0px;
height: 30px;
width: 100%;
background: #333;
color: white;
text-align: center;
}
</style>
Post your comments / questions
Recent Article
- Fix-Gradient effect turning to gray in after effects
- How to blur an image in python?
- ModuleNotFoundError: No module named 'whois' in Python GoviralHost Without Terminal
- How to Convert Image to Pencil Sketch in Python?
- AttributeError: module 'urllib' has no attribute 'request' - Python
- How to Extract audio from video files using python?
- PermissionError: [Errno 13] Permission denied: 'shampoo_sales.csv' - Python
- [WinError 145] The directory is not empty: 'FolderPath' - Python
Related Article