This project has moved. For the latest updates, please go here.

Setting Background Color of Tables

Aug 2, 2012 at 7:43 PM

Hi,

I'm trying to set the background color of a table via:

<table style="width: 100%; background-color: #00FFFF;">
    <tr>
        <td>Test</td>
        <td>Test</td>
    </tr>
    <tr>
        <td>Test</td>
        <td>Test</td>
    </tr>
</table>

 

However, only the text is highlighted with the color, and the table's background remains white. Does anyone know what I might be doing wrong?

Thank you

Aug 2, 2012 at 8:04 PM

Oops, found the solution. Apply background-color to <td>

Coordinator
Aug 3, 2012 at 10:22 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.