侧边栏高度等于主要内容区域

发布于 2024-09-27 19:24:19 字数 348 浏览 0 评论 0原文

我的问题是我希望 #promocion 区域(手动画显示的地方)的颜色在 高度 上等于我的主要内容区域(流体,有点新,不知道如何做到这一点)。

我尝试在 #promocion 中实现 100% 高度,但在 IE 中不起作用...

查看我的 CSS &网站稍等...

感谢您的宝贵时间...

my problem is that I want to have the color of the #promocion area (where the hands animation show) to be equal in height to my Main content area (Fluid, kinda new here and don't know how to do this).

I try to do a height 100% in #promocion but doesn't work in IE...

Check out my CSS & website just a sec...

Thank you for your time...

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

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

发布评论

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

评论(3

停滞 2024-10-04 19:24:19

您正在寻找布局的圣杯A List Apart 将是一个很好的资源,不仅可以提供方法,还可以提供原因。

You are looking for the holy grail of layouts. A List Apart will be a great resource for not only the hows but also for the whys.

面如桃花 2024-10-04 19:24:19

我最喜欢的方法仍然是Faux Columns,位于分离列表。圣杯在这里似乎有点矫枉过正。

My favorite method for this is still Faux Columns at A List Apart. Holy Grail seems like overkill here.

佼人 2024-10-04 19:24:19

有多种方法可以实现此目的。您可以使用一些基本的 Javascript 来完成。您也可以尝试“假列”方法,尽管我本人并不是该技术的忠实粉丝。

There are several ways you can accomplish this. You can do it with some basic Javascript. You can also try the "Faux Columns" approach, although I am not a huge fan of the technique myself.

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