Surely there's something obvious I'm missing -- but I'm having a devil of a
time styling table rows with a custom class.
What I'd like to do is added a bottom border to each table row, as an easy
visual cue for the break between rows of data.
My initial thought was to define a custom class in the StyleSheet, like so:
.viewer .rowBreaks tr {
border-bottom:1px dotted [[ColorPalette::PrimaryMid]];
}
... and invoke it in a tiddler thusly:
|rowBreaks|k
|some cell data|more cell data|
|a second row|and some more data still|
... but that didn't get me anywhere, so I tried styling a few more elements:
.viewer table .rowBreaks,
.viewer table .rowBreaks tr,
.viewer table .rowBreaks td,
.viewer .rowBreaks tr,
.viewer .rowBreaks td,
.twtable .rowBreaks,
.twtable .rowBreaks tr,
.twtable .rowBreaks td {
those same styles from above;
}
... thinking that would surely nail the element I needed my class to affect.
But nope.
Can anyone tell what I'm missing?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.