Requirement: Sometimes, when the page content is short and cannot support the browser height, but you want the footer to be at the bottom of the window. Idea: The minimum height of the footer's parent layer is 100%. The footer is set to be absolutely (absolute) bottom (bottom: 0) relative to the parent layer, and the height of the footer must be reserved in the parent layer. HTML code: XML/HTML CodeCopy content to clipboard
The CSS is as follows: CSS CodeCopy content to clipboard
At this point, other browsers can display it normally, but IE 6 needs to handle it separately: CSS CodeCopy content to clipboard
The above simple implementation method of placing the HTML footer at the bottom of the page is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. |
<<: The new version of Chrome browser settings allows cross-domain implementation
>>: Detailed explanation of the core concepts and basic usage of Vuex
The pitfalls 1. Many tutorials on the Internet wr...
Table of contents 1. Quick understanding of conce...
Let's try out nginx's reverse proxy here....
There are three ways to create an image: creating...
1. Download First of all, I would like to recomme...
View the dependent libraries of so or executable ...
Preface When testing, in order to test the projec...
1. unlink function For hard links, unlink is used...
XML/HTML CodeCopy content to clipboard < butto...
Version Chain In InnoDB engine tables, there are ...
1. Preparation before installation: 1.1 Install J...
Preface I encountered a situation at work: In the...
This article uses an example to describe how to i...
Problem Description I created three virtual machi...
Without further ado, I will post the code for you...