• Any advice on inserting tables with formatting (specifically row color, height/width adjustment, etc.)? I copied and pasted one table I created in Word, and the formatting remained. I decided I wanted to transpose the table, so copied and pasted again exactly the same way, and the new table has no formatting. It has all the data, but colors and gridlines are gone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Copying tables from Word is generally very problematic – try resizing your browser and you’ll see that the table doesn’t respond. If you must use a table, try using a table plugin such as TablePress.

    BTW, copying anything from Word usually adds all kinds of horrible code to websites (not just WP) – Word isn’t intended or made for website coding.

    I think you’re best bet would be to hard code a table.

    If you aren’t familiar with that, check out this link: http://www.w3schools.com/html/html_tables.asp

    Or finding a plugin (such as the one WPyogi suggested) could work just as well.

    Thread Starter lowlaa

    (@lowlaa)

    Thanks for the responses. Love the w3schools site. I worked with it and got my table as I want it. I then copied the code and pasted it into wordpress html box, and it does not look the same as on the w3schools preview. Is it more complicated than that? Please advise!

    Once you build your table in HTML it can be styled with CSS. Your theme may have some default styles for tables that will be different to what w3s was using or it will use the browser default.

    Styling tables with CSS is a little tricky (for me at least) because there’s quite a bit going on if you aren’t used to it.

    Maybe the plugin option will also let you add styles to the table as well? I don’t know because I have never used one.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you’re displaying other things than tabular data then you might want a grid plugin instead https://wordpress.org/plugins/grid-columns/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Inserting Tables with Formatting’ is closed to new replies.