What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can you prevent word wrap with Free Text HTML Function

    Asked by markashton on April 24, 2012 at 08:13 AM

    Hi,

     

    Can anyone advise on how to prevent wordwrap within the html text tool via inject CSS

    Would I take the ID and increase the right margin?

    Thanks

     

    Regards Mark

  • Profile Image
    JotForm Support

    Answered by abajan on April 24, 2012 at 08:39 AM

    Hi Mark

    Please inject the following rule, substituting the correct digit for that in the selector. For example, if the ID of the free text element is id_7, you would use #text_7 as the selector.

    #text_5 {
    white-space: nowrap;
    }

  • Profile Image

    Answered by markashton on April 24, 2012 at 08:46 AM

    Hi Abajan,

    That's worked for this ..

    http://form.jotformpro.com/form/21143528485959

    Note that the text line only wrapped in Opera Mobile.

    i was thinking of trying to get the blue text to show at the top of the first row by using the actual labels that are currently visibility hidden. Do you hink this would be a better way to do it?

     

    Thanks Regards Mark

  • Profile Image
    JotForm Support

    Answered by idarktech on April 25, 2012 at 06:48 PM

    Hi Mark,

    Sorry for the delay.

    May we ask again the form URL, please? It appears to be not found.

    Thanks in advance!

  • Profile Image

    Answered by markashton on April 26, 2012 at 05:29 AM

    Hi idarktech .. this is done. Please check string above. Your extremely helpful colleague abajan nailed it ;)

    Thanks, Mark

  • Profile Image
    JotForm Support

    Answered by idarktech on April 26, 2012 at 05:34 AM

    Oh, happy to hear it! :)

    abajan is the man when it comes to CSS. :)

    Cheers!