Aligning the Image Source for lightbox form

  • Profile Image
    EMYEstetica
    Asked on October 18, 2013 at 08:11 AM

    Based on this :

    <script src="//cdn.jotfor.ms/static/feedback2.js?3.1.1422" type="text/javascript">

    new JotformFeedback({

    formId:'32385559196972',

    base:'http://jotformpro.com/',

    windowTitle:'Вступить в клуб!',

    background:'#00736F',

    fontColor:'#FFFFFF',

    type:1,

    height:500,

    width:300

    });

    </script>

    <a class="lightbox-32385559196972" style="cursor:pointer;color:blue;text-decoration:underline;"><img src="your image link here!"/></a>


    I wanted to know how to set the button <IMAGE SOURCE>to the centre.

     

    Cheers

     

  • Profile Image
    ardy0689
    Answered on October 18, 2013 at 08:49 AM

    Hello you could wrap it between the

    and

    tag and centering it by adjusting the margin-left and margin-right to auto via an inline CSS style

    <div style="margin-left:auto;margin-right:auto;"><a class="lightbox-32385559196972" style="cursor:pointer;color:blue;text-decoration:underline;"><img src="your image link here!"/></a></div>

    Please let us know if the above suggestion aligns it to the center. If should in case it does not work please provide the webpage to where the lightbox is embedded so we can have a better look at it. Thanks.

  • Profile Image
    EMYEstetica
    Answered on October 19, 2013 at 10:15 AM

    Nope, it doesn't work :(

    But it seems to work by putting some figure on the left margin.
    That is good enough. Thanks !

    Great support.

  • Profile Image
    Cesar
    Answered on October 19, 2013 at 11:17 AM

    On behalf of my colleague, thank you for the reply. If you do need further support. do let us know. Thank you again.