Hi
The best way is to apply a CSS style - define a table style in a stylesheet
(any tiddler tagged '$:/tags/stylesheet'):
/*TABLES*/
table.hovertable {
font-family: verdana,arial,sans-serif;
font-size:12px;
color:#333333;
border-width: 1px;
border-style: solid;
padding: 2px;
border-color: #999999;
border-collapse: collapse;
}
table.hovertable th {
background-color:#c3dde0;
border-color: #a9c6c9;
vertical-align: top;
align: left;
border-style: solid;
border-width: 1px;
padding: 4px;
}
table.hovertable tr {
background-color:#d4e3e5;
padding: 2px;
}
table.hovertable td {
border-color: #a9c6c9;
border-style: solid;
border-width: 1px;
padding: 2px;
}
Then apply the class to your table:
<table class="hovertable">
<tr> ...
...
</tr>
</table>
Messing around with the values set in the CSS class will restyle your table.
regards
On Thursday, June 5, 2014 12:47:45 AM UTC+2, Corey Woodworth wrote:
>
> Is it possible to change the background and font colors of table cells? I
> can't for the life of me figure out how.
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.