Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

217
Visualizações
extra cell in HTML table

I am trying to print start and end under execution, but I get an extra cell beside End. I use:

<table style="float: center;border:2px;font-size:20px;color:white;border-collapse: collapse;border-spacing: 3;width: 25%;"> <tr><td> PC </td> <td> INSTRUCTION </td> <td> ISSUED </td> <td colspan="2"><table style="font-size:20px;color:white;border-collapse: collapse;border-spacing: 3;width: 25%;"><tr><td>EXECUTION</td></tr></table><table style="font-size:20px;color:white;border-collapse: collapse;width: 25%;"><tr><td>START</td><td>END</td></tr></table> <td> WRITTEN </td></tr>

How can I remove this extra cell? how can I remove the small cell beside END?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Your "extra cell" is the space between the end of the cell with contents "END" and the parent cell containing your embedded tables. For your purpose, instead of embedding one table inside another you should use rowspan and colspan.

body {
    background-color: black;
}
table,
tr,
td {
    border-color: white;
    border-style: solid;
    border-width: 2px;
}
table {
    border-collapse: collapse;
    border-spacing: 3;
    color: white;
    float: center;
    font-size: 20px;
    text-transform: uppercase;
    width: 25%;
}
<table>
    <tr>
        <td rowspan="2">PC</td>
        <td rowspan="2">Instructions</td>
        <td rowspan="2">Isused</td>
        <td colspan="2">Execution</td>
        <td rowspan="2">Written</td>
    </tr>
    <tr>
        <td>Start</td>
        <td>End</td>
    </tr>
</table>

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda