Forum:Table Classes

Is there a good location to learn how to use the class="name" construct within Wiki tables? I have seen examples of using class="wikitable" or class="gallery" but have not really seen how to create the background information for these or for new ones. I have looked at the MediaWiki:Monaco.css file in a couple of places and have seen how some table formatting may be influenced, but this doesn't appear to include column widths and formats.

Any information would be greatly appreciated.

Mrjoeterrace 23:51, January 20, 2010 (UTC)


 * A good place to start would be http://w3schools.com/css/css_table.asp . That will probably give more information than you initially need but I reckon you'll be returning to w3schools often if you plan to play around with CSS, JS, HTML and so on. Beyond that you could poke around various wiki examining their MediaWiki:Common.css file for examples
 * e.g. search for the comment  at w:c:vsk:MediaWiki:Common.css
 * Another very useful tool is firebug (for the firefox browser) or the F12 function for IE8. That will allow you to inspect the various styles on a page and to isolate which CSS file a style is being inherited from.
 * -- najevi 06:50, January 21, 2010 (UTC)