does anyone know how I can stop the toggle effect from causing extra spacing to appear when toggling? The toggle does not allow my content spacing to remain the same. Currently I toggle and when the content is not showing the spacing decreases, then increase when the toggling content displays. Below I added a basic code I did. Thanks!!
<div class="button_border"><button onclick="myFunction()">Transcript</button></div>
<div id="content">
</div>
<script>
$(document).ready(function() {
$("button").click(function(){
$("#mytranscript").toggle();
});
});
</script>