Jump to content

ShoaibF

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ShoaibF

  1. The blue table that you see is the google sheet embedded. It’s an image with some text overlays on it
  2. Hey guys, I have an embedded Google Sheets page on my website, which refuses to scale and centre in the code block that I have placed it in. The goal is to have the image/text from the Google Sheet centred on the page and automatically scaled depending on the device size so that the user can see the entire image without scrolling. At the moment, on a desktop, it does not centre. On a phone, it does not scale and shows the horizontal scrolling bar. Site URL: https://www.cycaswj.com.au/prayer-times This is what code I have in the HTML Code Block: <div id="prayer-time-table"> <iframe id="scaled-prayer-times" src="https://docs.google.com/spreadsheets/d/e/2PACX-1vSEIDa9hA05m0NpIz3nUl7gG_84uNqbG1jSMcuG4Exe_PjCr1b4tkuImuqF9fS4OZF0xwOFu0byUKzd/pubhtml?gid=1418347722&amp;single=true&amp;widget=false&amp;chrome=false&amp;headers=false"> </iframe> </div> This is the CSS for the sections: #prayer-time-table { height: 822px; padding: 0; overflow: hidden; } #scaled-prayer-times { width: 100%; height: 100%; border: none; } I have tried using <center> tags and adding position: to the CSS, and have scoured the web thoroughly and cannot find anything that applies here. Thanks in advance for your help!
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.