How can you make the div begin to increase in width when it reaches a maximum height?

  • Do you have the maximum set by the max-height selector or what? - Rules
  • For example. - toliklunev
  • And what should increase it? - Rules
  • Text. It is necessary that does not climb on other elements. - toliklunev
  • In general, the easier link is probably to give floberry.ru/about.html - toliklunev

1 answer 1

I understood here:

<style> #id_дива{ position: absolute; top: 200px; left: 0px; height: 40px; max-height: 500px; overflow: hidden; overflow-x: visible; } </style> 
  • Honestly, I didn’t really understand what you did / tried. Can you explain with words? I understand that you wanted to press the footer so that he did not run into the content. But the question was different. - toliklunev
  • I made it so that the width was limited and the height was not! And what exactly do you need, isn't it? - Rules
  • First, what does the footer have to do with it? Secondly re-read please the question. I want that if there is too much text in the plate, it ceases to increase in height, and begins to increase in width. - toliklunev
  • Corrected the answer ... is that what you want? - Rules