Line break in a cell of the spreadsheet plugin

  • Profile Image
    domainedelaguerie
    Asked on March 07, 2016 at 08: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.

     

  • Profile Image
    BJoanna
    Answered on March 07, 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. 

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

  • Profile Image
    domainedelaguerie
    Answered on March 08, 2016 at 04: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

     

  • Profile Image
    Mike
    Answered on March 08, 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.