I am using a view to create an html email. This view has a partial view passed to it that contains the footer information. Is there a way to apply CSS to the partial view elements? I am using inline CSS to modify the way the other items in the view render in the email, but I am not sure how to modify the elements coming in from the partial view?
我正在使用视图来创建一个HTML电子邮件。此视图具有传递给它的局部视图,其中包含页脚信息。有没有办法将CSS应用于局部视图元素?我使用内联CSS来修改视图中其他项目在电子邮件中呈现的方式,但我不确定如何修改来自局部视图的元素?
1 个解决方案
#1
0
So I did not think this through. I applied the inline css to the partial view and it carried through to the email.
所以我没想到这一点。我将内联css应用于局部视图,并将其传递到电子邮件中。
#1
0
So I did not think this through. I applied the inline css to the partial view and it carried through to the email.
所以我没想到这一点。我将内联css应用于局部视图,并将其传递到电子邮件中。