DotNnetNuke 6改为css类“dnnFormRequired”所以它显示为红色星号?(DotNnetNuke 6 Changes to css class “dnnFormRequired”

编程入门 行业动态 更新时间:2024-10-28 13:23:37
DotNnetNuke 6改为css类“dnnFormRequired”所以它显示为红色星号?(DotNnetNuke 6 Changes to css class “dnnFormRequired” So that is appear as red asterisk?)

我开发了一个自定义DNN模块。 在这样做的过程中,我遵循了DotNetNuke 6模式以获得一致的用户体验(有关更多信息,请查看以下指南)

http://uxguide.dotnetnuke.com/UIPatterns/SimpleFormDemo.aspx

我怎么不喜欢DNN默认皮肤显示必填字段的方式。 如何将强制指示更改为传统标签:* Textfield

应该为皮肤做什么改变(css类)来实现这个目标?

I have developed a custom DNN Module. In doing so I have followed DotNetNuke 6 patterns for consistent user experience (For more information have a look at the following guide)

http://uxguide.dotnetnuke.com/UIPatterns/SimpleFormDemo.aspx

How ever I do not like the way DNN default skin shows the required fields. How can I change the mandatory indication to traditional Label: * Textfield

What changes to the skin (css class) should I make to achieve this?

最满意答案

这将需要的不仅仅是对CSS的更改,因为整体设计模式不涉及在内容中添加任何“*”。 因此,您不仅需要修改类,还需要修改内容。 (除非你使用我不推荐的JS或其他类型的解决方案。)

This will require more than just a change to the CSS, as the overall design pattern does not involve putting any "*" in the content. So you will need to not only modify the classes, but content as well. (Unless you go with a JS or other type solution which I don't recommend.)

更多推荐

本文发布于:2023-08-02 17:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1378370.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:星号   红色   dnnFormRequired   DotNnetNuke   css

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!