Equalising Column Width
Equalising Column Width
StephenPett
Posts: 1Questions: 1Answers: 0
I am a complete newbie as far as coding is concerned and this site is really scary, so please be patient and use small words!
I use classic editor in Wordpress - no blocks.
The draft table is at the very bottom of https://www.theprobatedepartment.co.uk/local/ and is set up in TablePress.
But I can't fathom out how to make it neat by equalising the columns before I delete the untidy listing above.
Help much appreciated!
Steve
Answers
Column widths in DataTables are determined automatically based on the content. You could use
columns.width
to each column definition and set it to be 25% which might get it to display more like what you want though.How you use that property in TablePress I don't know - you'd need to ask their support.
Allan
Out of interest, why are you using a table there? Would you not be better with a simple list and then if you wanted to style it so it is laid out in a grid, you could use CSS to do that. You don't appear to be using any of the abilities of DataTables there, so I'm not clear on why it would be used.
Allan