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

    Spreadsheet widget first row background is different on Chrome

    Asked by marchitect on June 13, 2015 at 06:14 PM

    HI, i resolved the problem but now i'have  another one. I canghed the first line (A-B-C-D) with other word and other color...it's go perfect! But i can't see the color posted in CHROME, it go perfect in FIREFOX and EXPLORER...but the background  color it's TRASPARENT in CHROME...  

    i USED THIS CSS CUSTOM:

    tr:first-child {
        background: none #DC143C;
       
    }
    th#col_A {
        max-width: 0;
        visibility: hidden;
    }
    th#col_A:before {
        content: "TIPOLOGIA";
        color: #000060;
        visibility: visible;
    }
    th#col_B {
        max-width: 0;
        visibility: hidden;
    }
    th#col_B:before {
        content: "n°PAX";
        color: #000060;
        visibility: visible;
    }
    th#col_C {
        max-width: 0;
        visibility: hidden;
    }
    th#col_C:before {
        content: "€ a PERSONA";
        color: #000060;
        visibility: visible;
    }
    th#col_D {
        max-width: 0;
        visibility: hidden;
    }
    th#col_D:before {
        content: "€ TOTALE";
        color: #000060;
        visibility: visible;
    }

    .A input{width: 120px;text-align:left;}
    .A input{height: 16px;text-align:left;}
    .B input{width: 120px;text-align:right;}
    .C input{width: 120px;text-align:right;}
    .D input{width: 130px;text-align:right;}

    spreadsheet spreadsheet row
  • Profile Image
    JotForm Support

    Answered by jonathan on June 14, 2015 at 06:57 AM

    Can you please check my test form http://form.jotformpro.com/form/51642236963963?

    this is the CSS code I used

     

    tr:first-child {

        background: none #DC143C;

       

    }

     

    th#col_A {

        max-width: 0;

        color: #DC143A;

        background-color: #DC143A !important

    }

    th#col_A:before {

        content: "TIPOLOGIA";

        color: #000060;

        visibility: visible;

        background: #DC143C !important;

    }

    th#col_B {

        max-width: 0;

        color: #DC143A;

        background-color: #DC143A !important

    }

    th#col_B:before {

        content: "n°PAX";

        color: #000060;

        visibility: visible;

        background: #DC143C !important;

    }

    th#col_C {

        max-width: 0;

        color: #DC143A;

        background-color: #DC143A !important

    }

    th#col_C:before {

        content: "€ a PERSONA";

        color: #000060;

        visibility: visible;

        background: #DC143C !important;

    }

    th#col_D {

        max-width: 0;

        color: #DC143A;

        background-color: #DC143A !important

    }

    th#col_D:before {

        content: "€ TOTALE";

        color: #000060;

        visibility: visible;

    }

     

    .A input{width: 120px;text-align:left;}

    .A input{height: 16px;text-align:left;}

    .B input{width: 120px;text-align:right;}

    .C input{width: 120px;text-align:right;}

    .D input{width: 130px;text-align:right;}

     

    .C function onlynumbers{

      Filtro = /[^0-9,.]/;

      s.value = s.value.replace(Filtro,"");

    }

     

    Let us know if this works for you or not...

     

    Thanks.