Hey there,
Is there a way to make a section automatically fit it’s height to it’s content without pre-defining the height (using px, % or any other method)?
Thanks
Ori
Hey there,
Is there a way to make a section automatically fit it’s height to it’s content without pre-defining the height (using px, % or any other method)?
Thanks
Ori
Actually, this is the default behavior of any div. (A section is a div, a container is a div too).
If you don’t set dimensions, it will expand in height depending of its content. You need to let the height to Auto. (or type Auto or clear what’s inside the box)
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.