I use a MediaWiki instance on a thumb drive to keep track of a ton of stuff. In the past, I’ve been in a hurry so I haven’t had the chance to look for a nice way to make tables, so this syntax has served my purposes well:
{| border=1 ... |}
Now I want something a little nicer; I’m used to using CSS to make nicer table borders, but I’m not finding a clean way to do this syntax via MediaWiki. Basically, I want a table that looks equivalent to this HTML:
<table style='border-collapse: collapse'> <tr> <td style='border: 1px solid black'>one</td> <td style='border: 1px solid black'>two</td> </tr> </table>
Setting border on every cell is going to be difficult. My initial guess is I need to add a table class to a CSS file somewhere; if so, where might the appropriate file be located?
As you wrote, you can edit Mediawiki CSS files. This is the way to go; however, if for some reason you can’t use CSS, you can always use Wiki templates that contain cell-specific styling tags.