How to add multiple forms with different styles on same page?

  • Profile Image
    dannyirvine
    Asked on October 03, 2012 at 03:54 AM

    Hi

    I am adding multiple forms on same page and the problem is that they are getting the style of eachother. e.g If I have written custom CSS for #input_1 then the other form have the same id is also getting this style while I have written style for that also. Please help me asap. Thanks

  • Profile Image
    fxr
    Answered on October 03, 2012 at 04:22 AM

    If you embed your forms with the iFrame embed method, they will use their own CSS exclusively, have you tried that?

  • Profile Image
    dannyirvine
    Answered on October 03, 2012 at 06:03 AM

    Thanks it worked but the issue is now with Cufon, it didn't applied on the iframe!!! Can you solve this?

  • Profile Image
    fxr
    Answered on October 03, 2012 at 07:53 AM

    hmm, yes. 

    The cufon js isnt going to work with the forms now that they are embedded with an iframe. 

    There are effectively on different pages so that any of their css wont conflict. 

    --

    How were the forms originally embedded? 

    There may be way to specific which element on each form to assign the css rule to but I would have to see the forms embedded the way you use to have them.

    --

    The iframe method is just much more straightforward, sorry that I overlooked this potential problem with Cufon.