WebSite X5Help Center

 
Barry Maloney
Barry Maloney
User

Dynamic height HTML and Widgets Object  en

Author: Barry Maloney
Visited 2631, Followers 1, Shared 0  

How do I set a dynamic height in a HTML and Widgets Object.

I have some script and CSS code set in a HTML and Widgets Object. But the cell does not lengthen as the content grows.

I realise that I can set the cell's height large enough to accomidate that largest amout of data but the footer will be forced out of sight or can have a scroll bar. But I was hoping to have the cell flex with the content.

Posted on the
2 ANSWERS - 1 CORRECT
Incomedia
Claudio D.
Incomedia

Hello Barry,

If you set in the HTML&Widget Object the height to 0 the object will take as height the value you add in your custom HTML code.

If your code adds the heright value then this will be used as value for the object.

Many thanks!

Read more
Posted on the from Claudio D.
Barry Maloney
Barry Maloney
User
Author

perfect, Thank you

Read more
Posted on the from Barry Maloney