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
Table of contents 1. Software Package 2. Install ...
Problem Description In the framework of Ele.me UI...
<br />Generally speaking, the file organizat...
The concept of mysql stored procedure: A set of S...
If I want to make the form non-input-capable, I se...
Preface BINARY and VARBINARY are somewhat similar...
1. Reasons If the system is Centos7.3, the Docker...
This method was edited on February 7, 2021. The v...
Table of contents 1. async 2. await: 3. Comprehen...
Table of contents Technology Stack Backend build ...
As a basic element of a web page, images are one ...
When Docker creates a container, it uses the brid...
Table of contents Backend: Rails API part Front-e...
In tomcat, jsp is not garbled, but html Chinese i...
If you want to insert 5 records into table1, the ...