Line break in a cell of the spreadsheet plugin

  • domainedelaguerie
    Asked on March 7, 2016 at 8:08 AM

    Hello,

    I have to insert a spreadsheet in my form.

    In column A, I have a quite long text to describe the product.

    With the FAQ I have found a way to change the width of the column A but my text is still too long to get into it.

    I would like to have a linebreak /
    in my cell. Can I put some code in the CSS to manage that ?

    An by the way, can I have "euros" in my table for prices ?

    Thank you for your answer.

     

    Jotform Thread 788762 Screenshot
  • BJoanna
    Replied on March 7, 2016 at 12:30 PM

    I have inspected your form http://www.jotform.com/60643953095360 and it seems that you were able to resolve your issue. Product text inside of Spreadsheet widget is not cut off and I saw that you have set "euros" in total table price. 

    Line break in a cell of the spreadsheet plugin Image 1 Screenshot 20

    Feel free to contact us if you have any other questions. 

  • domainedelaguerie
    Replied on March 8, 2016 at 4:20 AM

    Hello,

    thank you for your answer.

    I first didn't understand it because I haven't seen the same when I have checked my form but I finally found the problem : with Chrome no problem it reads the command "word-break" I used but Firefox doesn't understand it.

    here is the code I have put in the CSS (I found it in the forum)


    td, th {
    word-break : break-word;
    }

    .A input { max-width: 450px; min-height: 50px; word-break : break-word; }

    .B input { min-height: 50px; word-break : break-word; }

    .C input { min-height: 50px; word-break : break-word;}

    .D input { min-height: 50px; word-break : break-word;}

    td, th, tr {

    word-break : break-word;

    }

     

    Do you know an equivalent for Firefox ?

     

    Thank you very much

     

  • Mike
    Replied on March 8, 2016 at 10:34 AM

    Unfortunately, I have not found any equivalent CSS that can be used to implement the line breaks in Firefox and Internet Explorer.