Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
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 answers
Answer question

0

try using property justify-content : center,

about 4 years ago · Juan Pablo Isaza Report

0

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

about 4 years ago · Juan Pablo Isaza Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!