Style Resource

 

TableColors

Page history last edited by va 2 yrs ago

Table Colors

 

Background

To change the background color of the cells in a table, use this code:

 

<raw escaped=0><style>
#displaycontent table td {
background-color: red;
}
</style></raw>

 

Borders

To change the borders, use this:

 

<raw escaped=0><style>
#displaycontent table td {
border:5px solid blue;
}
</style></raw>

 

See an example here.

 

To eliminate the borders:

 

<raw escaped=0><style>
#displaycontent table td {
border:0px;
}
</style></raw>

 

And here's an example.

Comments (0)

You don't have permission to comment on this page.