简体   繁体   English

当浏览器窗口调整大小时,内容从右侧截断

[英]Content cutting off to right side when browser windows resizes

I have a website I'm making and the content is cutting off to the right.我有一个我正在制作的网站,内容在右侧被切断。 I have overflow-x: hidden;我有overflow-x: hidden; on purpose.故意。 Is there a possible way to keep all content within the browser window when resized.是否有可能在调整大小时将所有内容保留在浏览器窗口中。 I don't care if it breaks the website or not.我不在乎它是否破坏了网站。 Please and thank you for any feedback.请并感谢您的任何反馈。

is your content sized using px or some other similar unit.您的内容是否使用 px 或其他类似单位进行大小调整。 if so then change to % or something else or it else will have to scroll to show all the content and can't do that if overflow is hidden.如果是这样,则更改为 % 或其他内容,否则将不得不滚动以显示所有内容,如果隐藏溢出,则无法执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM