浮动正在工作,但现在正在迈进。
本页:
盒子原本漂浮得很好,中间显示 4 个产品。同事从记事本复制并粘贴完全相同的代码后,除了 URL 更改之外,出现了浮动问题。我翻遍了,也看不出罪魁祸首。
任何帮助表示赞赏。
This page:
The boxes were originally floating fine and showing 4 products across the middle. After a coleague copied and pasted the exact same code from notepad, other than a URL change, the floating issue has occurred. I have looked through and can't see the culprit.
Any help is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您缺少关闭
div
标签:因此您的
hp-bottom-box*
框相互嵌套。在打开下一个hp-bottom-box*
标记之前添加一个结束标记,这样就可以了。
Looks like you're missing closing
div
tags:so your
hp-bottom-box*
boxes are nested inside each other. Add a closing</div>
tag before you open the nexthp-bottom-box*
tag and you should be good.