So, I finally got the text aligned in table because just putting the text in on the blog template wouldn’t keep it aligned. However, I hate tables. The borders are just plain ugly. Also, as you can see there are places in my list where no text is required and now there’s just a blank box. Can’t I just make a simple plain list and have the rows be aligned!?
Yes, you do need a table, because that’s what tables are designed for: rows and columns of data. The problem is that tables in most new themes have a default styling that may or may not suit a particular case. But you can override the defaults by using additional coding in the so-called Text editor. So tell us how exactly you’d like your table to look: no borders plus what? narrower table? if so, where should the table be – center or left?
Opening td tags: <td style="text-align:center;border:none;">
Opening table tag: <table style="width:50%;margin:0 auto 22px;border:none;">
Naturally you can change the percentage to adjust the width. (If you make it very narrow, you’ll also have to modify the default padding of each td).
The topic ‘Creating a list and aligning texts?’ is closed to new replies.