Set different heights per screen size with inline styles CSS into the ‘Text’ section of a Page
You should use Media Queries. Give that element a class & style it through media query following different screen sizes. Here is the sample: HTML <div align=”center”> <div class=”resolution”> <div style=”position: relative; padding-bottom: 50.00%; padding-top: 35px; height: 0; overflow: hidden;”> <iframe style=”position: absolute; top: 0; left: 0; width: 100%; height: 100%;” src=”https://wordpress.stackexchange.com/questions/352152/html-websiteaddress” width=”640″ height=”360″ allowfullscreen=”allowfullscreen”></iframe></div> … Read more