Table background color not showing

  • Author
    Posts
  • #11580

    tupchurchwriter
    Original poster

    I have been trying to build a table with a background color using the following code:

    <table class=”alignright” style=”width: 25%; margin: 10px; padding: 5px;” bgcolor=”#ebe4b5″>
    <tbody>
    <tr>
    <td>test test test
    test test test</td>
    </tr>
    </tbody>
    </table>

    On the preview / edit mode, the table color shows up OK (pale brown), but on the finished page in Linen template, the background reverts to white.

    http://marthawilliams.org/table/

    Please can you advise?
    Thanks.

    The blog I need help with is: marthawilliams.org

    #11777

    tupchurchwriter
    Original poster

    Oh, it’s OK — found it!

    <td style=”background-color: #ebe4b5;”>

    Cheers :)

    #11787

    andyadamscp
    Member

    Glad you were able to figure it out! Thanks for letting us know! I’ll close this topic now, but feel free to start another if you have any more questions!

The topic ‘Table background color not showing’ is closed to new replies.