Search the Legacy Support Archive (up to v2020)
  1. Read-only archive (2005–2024). Posting is closed. Need help with MediaLab or DirectRT 2027? Email service@empirisoft.com.

    All words · “exact phrase” · -leave out

    Advanced search

custom item alignments (case 22132)

  1. #1

    custom item alignments (case 22132)

    Hi everyone,

    I'm having trouble modifying the position of custom items displayed on the screen. I've tried using <ml.t> or <ml.h> parameters to change them but so far nothing has worked.
    Right now, the script is set up to display the questionnaires on the top-center of the screen:

    <style>
    <ml.styles>
    </style>
    <body onload="setTimeout ('document.forms[0].submit()', 8000)">
    <center><form method="post"> <ml.wording>
    <center><input name="<ml.varname>">
    </form>

    If anyone has an idea how to move it down to the middle-center of the screen, please let me know. Your help would be greatly appreciated!!

    Thanks :)

  2. #2
    Can you please upload the .txt file with your htm code as well as your quickstyle files?

  3. #3
    Hi Jason,

    here's my txt file. For some reason, the quick style file cannot uploaded to this thread-- I'll email it to you in case you would like to take a look at that as well.

    Thank you so much for your help and happy new year!

    Best,
    Clair

  4. #4
    It's not the most elegant solution, but you can move the text box down on the screen by simply using the break command. For example, this should move the textbox two lines down from the top of the screen:
    <br>
    <br>
    <body onload="setTimeout ('document.forms[0].submit()', 8000)">
    <center><form method="post"> <ml.wording>
    <center><input name="<ml.varname>">
    </form>

    For the time being, you can just use as many <br> lines to move the textbox down to where you want it on your screen.

  5. #5
    Using <br>'s work wonderfully!!
    Thanks for your help.

    Best,
    Clair

  6. #6
    You're welcome!