WordPress.org

Support

Support » Plugins and Hacks » background color in wp-Table

background color in wp-Table

  • How to assign a background color to a single cell in a table created using the wp-Table setup?

    The underlying code uses <td> tags, and it’s easy enough to use the bgcolor attribute — but only for all cells in a given row or column. My question is how to assign a background color for just one cell, just as I can use other html to make the font in that cell bold or italic.

    Many thanks.

Viewing 1 replies (of 1 total)
  • Well, a quick and dirty approach would be to write <td style=”background-color: #112233″>

    By the way, don’t use bgcolor anymore. It’s deprecated.

Viewing 1 replies (of 1 total)
  • The topic ‘background color in wp-Table’ is closed to new replies.
Skip to toolbar