That is pretty much how I ended doing it, but since my class is related to forms and was not working with a div directly on my tests (don’t want to create a specific class just for one single form) I used another form that wraps the EE form inside and the style is inherited. It’s not the most clean approach in terms of code since you end up with 2 forms, one for my class and one for EE, but works.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.