I have on div with a table inside it. The width of div is
If I'm understanding correctly, my take on it is below.
You could try selecting the table, then traverse the DOM tree to select
.parentElement and change the width using
... var x = document.getElementById('tableID'); x.parentElement.style.width = '200%'; ...