ENDO 2020: 2nd World Congress of Gi Endoscopy     html body {width: 100%;height: 100%;padding: 0px;margin: 0px;overflow: hidden;font-family: arial;font-size: 10px;color: #6e6e6e;background-color: #fff;} #preview-frame {width: 100%;background-color: #fff;}   var calcHeight = function() { $('#preview-frame').height($(window).height()); } $(document).ready(function() { calcHeight(); }); $(window).resize(function() { calcHeight(); }).load(function() { calcHeight(); });      .