How to change bgcolor in table cell

  • Unknown's avatar

    I have a table where I am using code such as this (I’m not sure if the code will show one I hit submit):
    “<tr>

    This is my text

    </tr>”
    I am assigning a value of #A9A9A9 to bgcolor for the table cell.
    In WordPress.com’s View editor the color shows as expected. When I preview the page the color disappears. Other than purchasing the CSS Editor (and will that resolve this?) is there any way around this?

    Jonathan

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    That type of coding is deprecated and much of it won’t work anymore. You need to use inline CSS (add the style attribute and use the appropriate properties and values):
    <td colspan="3" style="text-align:center;vertical-align:top;background-color:#a9a9a9;">

  • The topic ‘How to change bgcolor in table cell’ is closed to new replies.