twentynineteen, how can I center an html table on my page
-
Everytime I type in code to center the table (text view) it gets over written on the update on the page and defaults the table to be left-justified. I want the table to “center on the page.”
I have copied the code below that comes from wordpress support. I have also tried center tags. Is there special center-code for twentynineteen?
I also am using the classic editor. I do not want to use gutenberg.
Here is the url of the test site
[ redundant link removed ]Here is the code that I am using to make my table
<div style=”text-align: center;”> <table style="width: 80%;"> <tbody> <tr> <td style="width: 50%;"><a href="https://blindliberal.com/wp-content/uploads/2019/06/image01.jpg"><img src="https://blindliberal.com/wp-content/uploads/2019/06/image01.jpg" width="400" height="400" /></a></td> <td style="width: 50%;"><a href="https://blindliberal.com/wp-content/uploads/2019/06/image02.jpg"><img src="https://blindliberal.com/wp-content/uploads/2019/06/image02.jpg" width="400" height="400" /></a></td> </tr> </tbody> </table> </div>
Any help is deeply appreciated
- This topic was modified 5 years, 5 months ago by .
- This topic was modified 5 years, 5 months ago by .
- This topic was modified 5 years, 5 months ago by .
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘twentynineteen, how can I center an html table on my page’ is closed to new replies.