Closed Raffaele3D closed 4 years ago
Have you verified this:
height: document.getElementById('listContainer').style.height,
In your devtools is setting a correct value? I believe the height property is the right thing to set here.
Have you verified this:
height: document.getElementById('listContainer').style.height,
In your devtools is setting a correct value? I believe the height property is the right thing to set here.
Thanks for your reply: problem fixed as per your suggestion. Thanks a lot.
Awesome! Glad that fixed it 👍
Dear @tbranyen Tim,
I am struggling in setting the height of the list with a specific value.
To be more precise this is my divs configuration
<div id="listContainer" style="height: 300;"><div id="list" ></div></div>
and I would like to set the height of the div with id="list" to the height of the div with id="listContainer".
This is my script tag: how do have i to customize it? I ma trying to pass the height value as document.getElementById('listContainer').style.height what is wrong in that? Thanks in advance for your time.