Question
I am wondering if anyone can point me to some documentation or something for customizing the way default tables are rendered, to make them like the older versions of TWiki where there was a 1px black line around each cell.
Some of my tables where the same colors are used for adjacent cells become very difficult to see without demarcation. I believe this changed in the most recent TWiki upgrades although I'm not sure which one.
Any info is appreciated.
Environment
--
JoshuaJohnston - 02 Sep 2006
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
heya Joshua,
see the
TablePlugin in your TWiki install - TABLEATTRIBUTES even has the settings to match the classic style.
--
SvenDowideit - 03 Sep 2006
Define a
TABLEATTRIBUTES preferences setting in Main.TWikiPreferences instead of changing the setting in the TablePlugin topic. This makes upgrade easier.
--
PeterThoeny - 03 Sep 2006
Ok that's great! I can turn the border back on now but it looks like old and 3d and stuff. After fooling around
here, I've determined that what I want to do is set the style="border-collapse:collapse;" option, instead of having the border-collapse style be "separate" (3d looking).
TWiki however basically ignores the style statements I put into
TABLEATTRIBUTES, but if I try it out in a regular web page, it works right. So do I need to add this style to a style sheet somewhere for it to work, or is there a way to add this to
TABLEATTRIBUTES somehow?
--
JoshuaJohnston - 03 Sep 2006
Alright I took a stab at it and updated ..\pub\TWiki\PaternSkin\style.css, which worked. Below is the code I inserted. If there's still a better way to do it though please feel free to let me know

Thanks!
/* TablePlugin */
.twikiTable {
border-collapse: collapse;
}
--
JoshuaJohnston - 03 Sep 2006