[Mediawiki-l] wikitables

Frederich, Eric P2173 eric.frederich at siemens.com
Mon Jun 5 14:41:59 UTC 2006


I went to my wiki and manually went to MediaWiki:Common.css and the page
didn't exit.
I went into edit mode and pasted exactly what you had on your link below
it is pasted between the lines of equal signs
I saved the page and went to a temp page and tried the multiplication
table and didn't get any style with it, just a plain table with no
borders or shades of grey.
I tried it with and without the beginning */ and ending /* that you had
in your box on that page.
Basically, below between the equal lines is exactly what I pasted when I
went into edit mode.
You have more than that on your page though, so I did try once and
viewed your source and copied all of that into mine and I got nothing.
The test showed up without any borders either.

~Eric

======================

*/

/* This resolves an issue with CSS not working correctly.  It must be
the first entry. */
thisneverworks {
}

table.wikitable, table.prettytable {
 margin: 1em 1em 1em 0;
 background: #f9f9f9;
 border: 1px #aaaaaa solid;
 border-collapse: collapse;
}

table.wikitable th, table.wikitable td, table.prettytable th,
table.prettytable td {
 border: 1px #aaaaaa solid;
 padding: 0.2em;
}

table.wikitable th, table.prettytable th {
 background: #f2f2f2;
 text-align: center;
}

table.wikitable caption, table.prettytable caption {
 margin-left: inherit;
 margin-right: inherit;
}

/*

========================

-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Sy Ali
Sent: Monday, June 05, 2006 10:18 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] wikitables

On 6/5/06, Frederich, Eric  P2173 <eric.frederich at siemens.com> wrote:
> I visited your link but did not see how to edit Common.css from within
> the wiki.
> Just to be sure, this does go in wiki/skins/common/common.css right?

Visit MediaWiki:Common.css in your wiki.  Make the page if it doesn't
exist.  Copy the css content from my page into yours.  Then everything
should Just Work (tm).

The "thisneverworks" entry is required due to some wierd issue that I
can't comprehend.  =)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list