首页 > 解决方案 > 如何使这个嵌入式谷歌工作表代码响应?

问题描述

我已经投入了很多时间,只是不能再进一步了。不幸的是,我在编写代码方面并没有真正的经验。我正在尝试在我的 WIX 网站上嵌入 Google 表格,我已经这样做了。仍然存在两个问题:

  1. 但是,当我缩放浏览器时,嵌入表格的内容中会出现白色边框,我无法摆脱它,因为我不知道如何解决它们。(使用 & chrome = false 我去掉了不必要的菜单元素,但不幸的是 & width = 100% / auto & height = 100% / auto 不起作用。)

  2. 当我在移动设备上打开网站时,内容的缩放不再合适。我怎样才能让它响应?

我会很高兴有任何帮助!

<embed style=" frameborder=0; margin:0 auto;overflow:hidden; align:center; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; width: 92.5%; height: -webkit-fill-available; display: flex;
justify-content: center;
align-items: center" scrolling="no"
src="https://docs.google.com/spreadsheets/d/e/2PACX-1vQMhGUiRk9yD5-dxqbhSmp09XyPXV0M3gTMsUC8GvVF6lETKHu56FR7dlo_u-P_yZSVqEKcQmWCGgo0/pubhtml?gid=2070284243&chrome=false&embedded=true">

标签: htmlcssgoogle-sheetsresponsive-designembed

解决方案


推荐阅读