When printing on firefox or Chrome add table borders

Asked

Viewed 10 times

-2

I’m making a code which is a form using Tables(html), at the moment of preview of the printing of the code add some borders, but when leaving the print is normal... Would you have any solution?.

A pré-visualização fica assim

Mas deveria ficar assim:

Follow a brief excerpt from the code:

<table width="100%" style="text-align: justify-all; border-collapse: collapse">
          <tr>
            <td width="100" class="cab_info" style="text-align: center"><strong>Data</strong></td>
            <td width="101" class="cab_info" style="text-align: center"><strong>Valor</strong></td>
          </tr>
          <tr>
            <td class="subtitulo_info"><input autocomplete="off" placeholder="Insira a Data" type="text" style="text-align: center"  name="date" class="input_borda_sub_data date-input" onfocus="(this.type='date')" onblur="if(this.value==''){this.type='text'}" required></td>
            <td class="subtitulo_info" style="text-align: center">
              <input autocomplete="off" type="text" style="border: none;" id="pedagio" placeholder="Insira Valor" onkeyup="tot_ped()" class="input_borda_media money"  ></td>
          </tr>
          <tr>
            <td class="subtitulo_info" ><input autocomplete="off" type="text" name="date" style="height:18px" class="input_borda_sub_data date-input" onfocus="(this.type='date')" onblur="if(this.value==''){this.type='text'}" required></td>
            <td class="subtitulo_info" style="text-align: center"><input autocomplete="off" type="text" style="border: none;" id="pedagio" onkeyup="tot_ped()" class="input_borda_media money"  ></td>
          </tr>
          <tr>
            <td class="subtitulo_info"><input autocomplete="off" type="text" name="date" style="height:18px" class="input_borda_sub_data date-input" onfocus="(this.type='date')" onblur="if(this.value==''){this.type='text'}" required></td>
            <td class="subtitulo_info" style="text-align: center"><input autocomplete="off" type="text" style="border: none;" id="pedagio" onkeyup="tot_ped()" class="input_borda_media money"  ></td>
          </tr>
</table>
  • Please edit the question to limit it to a specific problem with sufficient detail to identify an appropriate answer.

  • I edited the question as requested!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.