That was it! Works a treat thank you :o)
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Hans Voss Sent: 25 October 2005 20:15 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Float table of contens?
Make sure there is not line break (newline/enter/...) before the 'float'. Everything between the {| and | should be on one 'line'.
On 10/25/05, Coombes, Andrew andrew.coombes@hants.gov.uk wrote:
Doesn't work for me. I see:
float: right; padding: .5em 0 .8em 1.4em; background: none;" Table of contents [hide] 1 News 2 Mission 2.1 Strategy Statement 2.2 Protocols 2.3 Guidelines 2.4 Training 2.5 CAD Group 2.6 Useful Links
at the head of my page, and the table steadfastly stuck to the left-hand edge.
Any (relevant) suggestions ?
Regards,
Andrew
MediaWiki: 1.4.10 PHP: 4.3.10 (cgi) Apache 1.3.33 MySQL: 4.0.25-standard
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Morten Blaabjerg Sent: 25 October 2005 01:47 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Float table of contens?
This piece of wiki-markup and css basically floats the TOC to the right :
{| cellspacing="0" cellpadding="0" style="clear:right; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none;" | __TOC__ |}
Put this in a template, and call the template from the pages where you need the floating TOC. It can quite easily be modified to float the TOC to the left, (or alternatively, to accept variables to it to do the trick)
Best wishes, Morten :-)
-- Crews Cut Production Morten Blaabjerg Danmarksgade 97 - DK-5000 Odense C Tlf. 65 90 60 88 / 51 80 91 55 http://morten.crewscut.com morten@crewscut.com
----- Original Message ----- From: "Bass, Joshua L" joshua.l.bass@lmco.com To: "MediaWiki announcements and site admin list" mediawiki-l@Wikimedia.org Sent: Monday, October 24, 2005 10:13 PM Subject: [Mediawiki-l] Float table of contens?
On any pages that have a table of contents, it seems the default is to have the TOC have its own row. Any text will be below it. I would like the text to wrap around the TOC in the same way it does with thumbnails.
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- ---- Met vriendelijke groeten / With kind regards Hans Voss --------------------------------------- skype: hans.voss google talk enabled I am looking for people to invite to Gmail. I have 100 invitations left. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org