Placing page of "Thank You" in the center ?

  • Profile Image
    slleykersxx
    Asked on April 20, 2016 at 03:46 PM

    I have iframe on my website, and I'm looking to put a page of " thanks" in the center ..every monitor it is in a different position vertically.

    image below to show.

     

    I await a position .

     

    It follows also the address of the site . 

     

    stipesquisa.esy.es

     

  • Profile Image
    Ben
    Answered on April 20, 2016 at 04:08 PM

    I am looking at your page: stipesquisa.esy.es

    Now the issue here is that the body element does not hold the entire height of the page, only the html element does, but even if so it would not be possible to make the thank you page look centered on all sizes and in the same time make sure that the scrollbar is not shown.

    The only way to do something like that would be to create some code that checks for this and make sure that it works for different screen sizes the same way which would take some time to buld and test.

    As such we would not be able to assist you with the same.

  • Profile Image
    slleykersxx
    Answered on April 20, 2016 at 04:20 PM

    I have iframe on my website, and I'm looking to put a page of " thanks" in the center ..every monitor it is in a different position vertically.

    image below to show.

     

    I await a position .

     

    It follows also the address of the site . 

     

    stipesquisa.esy.es

     

  • Profile Image
    Ben
    Answered on April 20, 2016 at 06:09 PM

    Please do try to apply the code from this link: https://pastebin.com/uVTuNqk7

    I made a slight modification to it, that should be able to capture the screen height and set the thank you page at the middle of the same, but please do test it out once you have added it to your website.

    To add it simply remove the current <script ... and the code until </script> (including that as well) and replace it with the similar code from the link above.

    I have pasted it to PasteBin since it seems that when you have copied the code from the thread last time, it gave you some HTML entities, which corrupted the code (it worked, but not completely). Copying it from there will allow you to do so without any issues.

    Do let us know how it goes and please do test it out on the screen resolutions you are after.

  • Profile Image
    slleykersxx
    Answered on April 20, 2016 at 07:27 PM

    I have no words to thank .

     

    I thank to you and your team immensely.

    Thank you even for your patience and your willpower

     

    Thanks .. Everything went as I wanted .. If you want to take a look. 

    stipesquisa.esy.es

     

    Thank you .

  • Profile Image
    Mike_G
    Answered on April 20, 2016 at 10:33 PM

    On behalf of my colleague, Bane, you are most welcome. Please feel free to contact us anytime you have questions or concern. Thank you.