Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize left Fixation and right self-adaptation of html

Shulou Source: shulou.com Published: 2022-06-03 14:40:30 10月04日 Update

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!

Tags: Methods right content articles learning help easy to understand more organization knowledge editing industry information information channels channels research Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei OPPO Reno Redmi Docker Microsoft