How to realize left Fixation and right self-adaptation of html
This article mainly shows you "html how to achieve left fixed, right adaptive", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "html how to achieve left fixed, right adaptive" this article.
The first method:
Document.one {position: absolute;height: 200pxmith width: 300px height: blue;}. Two {height: 200pxten Margaret left: 300pxten: red;} first method
The second method:
Document.one {float:left;height: 200pxashing width: 300pxpolitical backgroundcolor: blue;}. Two {overflow: auto;height: 200pxpolitical backgroundcolor: red;} the second method is all the contents of the article "how to fix the left side and adapt to the right side". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!