我开发了一个自定义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.)
更多推荐
发布评论