SID-01249: Can the Color of Table Rules be Changed?
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
|
| Category: |
TablePlugin |
Server OS: |
|
Last update: |
14 years ago |
Our company is on TWiki version TWiki-5.0.1, Sun, 10 Oct 2010, build 19570, Plugin API version 1.3. I'm new to this, but I'm creating a lot of tables, most with these variables:
%TABLE{ cellpadding = "5" tablerules = "all" databg = "none, #def0fd"}%
But I'd really like to be able the make the tablerules (cell borders) black, something that shows up better. I looked at the FAQ, and the TWiki formatting page, and the page on the Table Plugin, but I didn't find anything. Maybe I'm approaching this the wrong way? Is there a better solution? Thanks for any help you can provide.
--
KarenNorton - 2011-08-08
Discussion and Answer
Use CSS. See details at
TablePlugin.
Example style that changes the tables on this page to (almost) black:
<style type="text/css" media="all">
.twikiTable,
.twikiTable td,
.twikiTable th {
border-color:#333333;
}
</style>
| This is a |
sample |
table |
| Old McDonald |
had a |
server farm |
--
PeterThoeny - 2011-08-08
Thanks a bunch - - I don't know anything about CSS but I'll start reading.
--
KarenNorton - 2011-08-09
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.