How can I align my form to the right side of the page?

  • Profile Image
    daze03br
    Asked on August 16, 2013 at 12:41 PM

    I currently have an image and the image width is 283 px. Location of this image is on the left side of my webpage. But I want to put the jotForm on the right side of the page. I've tried several CSS codes given by other users and it works. But it also texts aligns my text field to the right as well.  I want to keep a left align text field but put the form on the right side of the page.

     

    Thanks for the help 

  • Profile Image
    ricardoflotte
    Answered on August 20, 2013 at 01:16 PM

    Hi,

    You could try creating two "<div>" in your html code, one for the image and for the form, set a css property for the image div to "float:left" and for the form <div> to "float:right" and "text-align:left".

     

    Example:

    <div style"width:300px;float:left">

    Your Image goes here

    </div>

    <div style"width:500px;float:right;text-align:left">

    Your jotform goes here

    </div>

     

    Hope this works for you!