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

122
Visualizações
Align table element to the center

I tried to align this table element to the center, the on containing the square but all just seems not to work. Can someone here please help me fix the burg.

<table>
<tbody>
    <tr>
        <td>TURKEY - SUPER LIG</td>
        <td>#colspan#</td>
        <td>Tips</td>
    </tr>
    <tr>
        <td>Besistas  <strong style="border:3px; border-style:solid; border-color:#601C08; padding-right: 0.5em; padding-left: 0.2em; padding-top: 0.2em; padding-bottom: 0.2em;">-</strong> <strong style="border:3px; border-style:solid; border-color:#601C08; padding-right: 0.5em; padding-left: 0.2em; padding-top: 0.2em; padding-bottom: 0.2em;"></strong> Adana</td>
        <td>#colspan#</td>
        <td><strong style="border:3px; border-style:solid; border-color:white; padding-right: 0.5em; padding-left: 0.5em; padding-top: 0.2em; padding-bottom: 0.2em; background-color: none; color: none;">1</strong></td>
    </tr>
    <tr>
        <td>DENMARK - DBU POKALEN</td>
        <td>#colspan#</td>
        <td>Tips</td>
    </tr>
    <tr>
        <td>FC Helsingoer <strong style="border:3px; border-style:solid; border-color:#601C08; padding-right: 0.5em; padding-left: 0.2em; padding-top: 0.2em; padding-bottom: 0.2em;">-</strong> <strong style="border:3px; border-style:solid; border-color:#601C08; padding-right: 0.5em; padding-left: 0.2em; padding-top: 0.2em; padding-bottom: 0.2em;">-</strong> OB</td>
        <td>#colspan#</td>
            <td><strong style="border:3px; border-style:solid; border-color:white; padding-right: 0.5em; padding-left: 0.5em; padding-top: 0.2em; padding-bottom: 0.2em; background-color: none; color: none;">Over 2.5</strong></td>
    </tr>
        
</tbody>
![image of what I got](https://i.stack.imgur.com/ImXsG.jpg)
about 4 years ago · Juan Pablo Isaza
3 Respostas
Responde à pergunta

0

try using property justify-content : center,

about 4 years ago · Juan Pablo Isaza Relatório

0

Try this code justify-content: center; align-items: center; display: flex;

about 4 years ago · Juan Pablo Isaza Relatório

0

You can try this code:

 display: flex;
 justify-content: center; 
 align-items: center; 

But, it is recommended not to use inline CSS. Because it takes longer time than usual to load. You can just link a separate CSS file to this html file and give same class name for all the border thing. And style them at once which will apply to all of them.

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