Hi, On 9 July 2010 14:53, Philippe Dhont <[email protected]> wrote: > Hi, I want to use tables in mediawiki and the code that i use works but > there is no layout. > As a test, this should make a nice viewing table (example from a learning > site): > > {| class="prettytable" width="40%" > ! Planten || Dieren > |- > | Gras || Koe > |- > | Eucalyptus || Koala > |} > > But I get just the text and no graphical table and looks in my wiki just like > this: > > Planten Dieren > Gras Koe > Eucalyptus Koala > > Is there something i forgot ?
Yes, the part 'class="prettytable"' results in the table getting a CSS class assigned to it. It is up to you to supply the styling needed (usually through the Mediawiki:Common.css page, but you could also use one of the skin specific css pages) -- Regards, Jean-Marc -- . ___ . @@ // \\ "De Chelonian Mobile" . (_,\/ \_/ \ TortoiseSVN . \ \_/_\_/> The coolest Interface to (Sub)Version Control . /_/ \_\ http://tortoisesvn.net _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
