我是ADXStudio CRM。我想在现有的联系表单中添加CSS样式。所以我请帮助我在标签和文本框中添加css样式 这是我的代码
<asp:Content ID="Content6" ContentPlaceHolderID="ContentBottom" runat="server">
<%: Html.HtmlAttribute("adx_copy") %>
<crm:CrmDataSource ID="WebFormDataSource" runat="server" />
<adx:CrmEntityFormView ID="ProfileFormView" runat="server"
DataSourceID="WebFormDataSource"
CssClass="crmEntityFormView"
EntityName="contact"
FormName="ContactPref"
ValidationGroup="Profile"
ValidationSummaryCssClass="alert alert-danger alert-block"
RecommendedFieldsRequired="True"
ShowUnsupportedFields="False"
ToolTipEnabled="true"
ClientIDMode="Static"
/>
答案 0 :(得分:0)
假设您正在使用CRMEntityFormView(默认情况下是默认情况下请联系我们表单视图),您应该查找.crmEntityForm
类。
.crmEntityFormView .cell input[type=text], .crmEntityFormView .cell select, .crmEntityFormView .cell textarea {
background-color:blue;
}
.crmEntityFormView .cell label{
background-color:red;
}