Styling table columns
-
I have a table that displays 3 columns on a page using the
[cfdb-table]shortcode. Using the suggestions in your posts for styling, I can get the column titles centered for all 3 columns, and cell contents centered for the 2 columns that need centering. However, the table displays in nearly 100% of the browser width. I’d like to change the total width and the widths of the individual columns. I have tried various iterations of the “style” property in the shortcode, as well as external CSS injection by ID (my theme has a page where I can specify custom CSS), but the columns stay each about 1/3 the total browser window width. The fact that my knowledge of CSS is miniscule doesn’t help. None of the multiple web searches I’ve tried have yielded functional results. Any suggestions on how to specify table column widths, either in the shortcode or on the theme’s CSS page, would be appreciated!https://ww.wp.xz.cn/plugins/contact-form-7-to-database-extension/
The topic ‘Styling table columns’ is closed to new replies.