DotNetNuke 6 - 具有 DNN 皮肤开发功能的一款 - 可折叠窗格

发布于 2024-12-31 22:14:26 字数 127 浏览 0 评论 0原文

在DNN早期版本中,我在蒙皮中发现了这种默认行为。

当左窗格和右窗格中没有内容时,两个窗格都会折叠,内容窗格会占用左窗格和右窗格的所有空间。

但我在 DNN 6.0.1 版本中创建了新皮肤,它不支持这种行为。

In DNN earlier version, I found this kind of default behavior in skinning.

When there is no content in Left-Pane and Right-pane then both panes are collapse and Content-pane consumes all spaces of left and right pane.

But I have created new skin in DNN version 6.0.1 which does not support this kind of behavior.

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

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

发布评论

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

评论(1

爱,才寂寞 2025-01-07 22:14:26

利用 DNNEmptyPane - DNN 将“DNNEmptyPane”类添加到空窗格。

1) 在skin.css底部添加.DNNEmptyPane{width:0}。你必须准确地做到这一点。

2) 不要使用窗格的 ID 来设置其宽度。

3) 使用“skinname”.css 可能会导致 DNNEmptyPane 出现一些问题

4) 确保您的 Skin.css 文件有效(正确的结束标记等)

该类应自动应用于所有没有内容的窗格。

参考文献

Utilize DNNEmptyPane - DNN adds "DNNEmptyPane" class to empty panes.

1) At the bottom of skin.css, add .DNNEmptyPane{width:0}. You must do this exactly.

2) Do not use the ID of the panes to set their width.

3) Using "skinname".css can cause some problems with DNNEmptyPane

4) Make sure that your skin.css file validates (proper closing tags, etc)

This class should automatically be applied to all panes that have no content.

References

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