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
<frameset></frameset> is familiar to e...
Prerequisites for installing MySQL: Install CentO...
Today I would like to share with you the CSS3 tra...
Table of contents in conclusion Practice Analysis...
Overview (official has more detailed description)...
Frequently asked questions Access denied for user...
Table of contents 1. Email 2. Mobile phone number...
1. Regular expression matching ~ for case-sensiti...
This article uses the gearman+mysql method to imp...
Table of contents Preface 1. Reasons: 2. Solution...
1. Download mysql-5.7.17-winx64.zip; Link: https:...
This article shares the specific code of Vue to a...
Table of contents 1. Test environment 1.1 Install...
This article example shares the specific code of ...
Table of contents 1. First install echarts in the...