Align table headings and cells the same

edited June 25, 2020 in Questions
Is there a way, perhaps with some clever CSS, to ensure that table headings (the TH cells) align the same way as their corresponding detail cells (the TD cells)? 


  • Pat VachonPat Vachon 💎💎💎
    edited June 25, 2020
    Wait, the table should be doing this by default? Do you mean the text with the TH and TD?
  • edited December 15, 2016
    Glenn, can you post a screenshot?
  • edited April 11, 2017
    Hmmm, you're right. When I spin up a new page with the Modern theme, the TH headings align with the TD contents correctly. But within our styled version they don't. We don't explicitly style those elements at all, but the finger of blame is certainly pointing in our direction. I'll investigate. Thanks for the pointer, gents.
  • edited September 11, 2015
    So, we're having the same issue actually. The TH heading is set to left align and the TD is set to left align, but as you can see in the screenshot the TH is definitely centered. 

    Is there a way to fix this issue?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!