How to align the iFrame content to left?

  • Profile Image
    IA_Form
    Asked on August 19, 2014 at 04:41 AM
    I've seen a couple similar questions, but how do you align the content of the iframe to the left, but not the iframe itself (100% width, but content to the left)?

    Using the Dreamweaver code (vs the iframe/embed code) everything aligns as I want it, but the script interferes other parts of the page. Using an iframe fixes *that* problem, but it's centered and adding an "align" tag doesn't seem to work and has some conflict with the mobile CSS (responsive site).

  • Profile Image
    ashwin_d
    Answered on August 19, 2014 at 09:11 AM

    Hello IA_Form,

    Please inject the following custom css code in your form to align the content to left:

    .form-all {float: left;}

    The following guide should help you inject the custom css code in your form:  http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    IA_Form
    Answered on August 20, 2014 at 12:50 AM

    Perfect! Thanks a lot!

  • Profile Image
    ashwin_d
    Answered on August 20, 2014 at 02:20 AM

    Hello IA_Form,

    You are welcome.

    I'm very pleased that I was able to help you.

    Do get back to us if you have any questions.

    Thank you!