表内容泄漏到其容器之外:如何操作表布局
我在将该表的内容保留在其容器内时遇到问题:请参阅 这里。
该表是由名为 CataLook store 的 DNN 模块自动生成的。
我真的希望他们能让模块符合标准——即。
而不是 但这就是我所坚持的......
我已经尝试对其进行 Firebug 并更改桌子上的所有宽度周围,但似乎没有什么能让它动起来。
有人对正确操作表格有任何见解吗?
另外,如果宽度设置为 100%,它不应该留在容器内吗? (我猜这不是真的,因为内容是动态生成的,因为它是 DNN 模块......)
I'm having a problem keeping the contents of this table within it's container: See here.
The table is being automatically generated by something called CataLook store which is a DNN module.
I really wish they would make modules up to standards-- ie. <div>
instead of <table>
but this is what I'm stuck with...
I've tried Firebugging it and changing all the widths on the table around, but nothing seems to even make it move.
Anyone have any insight as to manipulating tables properly?
Also, if the width is set to 100%, shouldn't it stay within the container? (I'm guessing this is not true because the content is dynamically generated because it's a DNN module...)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我们所做的就是打开商店的皮肤文件并查找许多 nowrap 实例并将它们从受影响的区域中删除。
它对于那些使用 xhtml 皮肤的人来说更相关。
这不是 100% 的——而是 nowrap 破坏了这一点。
我们已经成功地使目录皮肤符合 CSS 标准,但由于输出到页面时面板的放置位置而不符合 xhtml 标准。
如果我们能够解决这个问题,我相信我们将为目录提供符合 xhtml 和 css 的商店皮肤,但它一直在进行中。
所以尝试一下 - 找到现在的包裹并删除一些 - 你会对结果感到非常满意。 我们有一个针对该产品的支持网站 - 我与开发人员业务无关,但我真的希望看到对电子商务和 dnn 社区的一些支持,看到其他人也提供帮助真是太酷了。 如果您愿意访问,该网站是 http://www.catalooksupport.com。
尼娜迈尔斯
What we do is open up the skin file for the store and look for the many nowrap instances and remove them from the area that is affected.
It is more relevant for those who are using xhtml skins.
It's not the 100% - it's the nowrap that is the undoing of this.
We have managed to get catalook skins CSS compliant - but not xhtml compliant due to where the panels are placed when output to the page.
If we could get that fixed up, I believe we would have xhtml and css compliant store skins for catalook but it's been work in progress.
So try that - find the nowraps and remove some - you will be very happy with the outcome. We have a support site for this product - I have nothing to do with the developer business wise, but I really wanted to see some support for ecommerce and the dnn community and it's very cool to see others also help. The website is http://www.catalooksupport.com if you're so inclined to visit.
Nina Meiers
唉,Catalook 的桌子是出了名的邪恶。 我已经有一段时间没有黑过他们的表了,但是检查表属性,而不仅仅是 CSS 宽度属性。
编辑:您的产品标题似乎太长。 该表不允许标题换行为两行。 尝试缩短标题、使用较小的字体,或将产品格式设置为每行只有两个而不是 3 个。
Alas Catalook can be notoriously evil with their tables. It's been a while since I've hacked at their tables, but check the table attributes, not just CSS width properties.
Edit: It looks like your product titles are too long. The table is not allowing the title to line break onto two lines. Try shortening your titles, using a smaller font, or format the products to only have two per row rather than 3.