CSS - 如何指定 CSS 以使用户缩放页面时页面没有水平条?

发布于 2024-09-12 04:17:46 字数 208 浏览 2 评论 0原文

请参阅 http://code.google.com/apis/recaptcha/intro.html 当用户缩放页面时,底部不会引入水平条。

我想知道如何设计具有此属性的两列页面。

谢谢

Please refer to http://code.google.com/apis/recaptcha/intro.html
When the user zooms the page, there is no horizontal bar introduced on the bottom.

I would like to know how to design a two-column page with this properties.

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅听莫相离 2024-09-19 04:17:46

好吧,他们只是没有设置最小宽度,只是设置了最大宽度。因此浏览器几乎可以自由地重新定位所有内容。

在两列布局中,您可能应该对列使用百分比(即主列 70% 和导航列 30%),这应该适合您。

一个好的起点是 http://tutorialblog.org/fluid -fixed-and-elastic-web-design-explained/

Well, they simply have not set a min-width, just a max-width. So the browser is pretty much free to reposition everything.

In a two column layout you should probably use percentages for your column (i.e. main column 70% and navigation column 30%), that should work fine for you.

A good starting point would be http://tutorialblog.org/fluid-fixed-and-elastic-web-design-explained/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文