Hi all, Is there any way to float the table of contents of an article to the right and have the article content flow around it? Cheers. Fil Salustri
Filippo A. Salustri wrote:
Hi all, Is there any way to float the table of contents of an article to the right and have the article content flow around it? Cheers. Fil Salustri
You mean: <div style="float: right">__TOC__</div> ?
You can also try the TOC right template from Wikipedia: http://en.wikipedia.org/wiki/Template:TOC_right
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides Sent: Tuesday, June 08, 2010 8:32 AM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] float the TOC?
Filippo A. Salustri wrote:
Hi all, Is there any way to float the table of contents of an article to the right and have the article content flow around it? Cheers. Fil Salustri
You mean: <div style="float: right">__TOC__</div> ?
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Actually, this is more what I'd intended. I would prefer the TOC to /always/ float automatically to the right. Thanks again. Cheers. Fil
On 8 June 2010 13:38, mrthetooth mrthetooth@burningsea.com wrote:
You can also try the TOC right template from Wikipedia: http://en.wikipedia.org/wiki/Template:TOC_right
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto: mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides Sent: Tuesday, June 08, 2010 8:32 AM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] float the TOC?
Filippo A. Salustri wrote:
Hi all, Is there any way to float the table of contents of an article to the
right
and have the article content flow around it? Cheers. Fil Salustri
You mean:
<div style="float: right">__TOC__</div> ?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
That'd work too! Thanks! Cheers. Fil
On 8 June 2010 18:09, Platonides Platonides@gmail.com wrote:
Filippo A. Salustri wrote:
Actually, this is more what I'd intended. I would prefer the TOC to /always/ float automatically to the right. Thanks again. Cheers. Fil
Add in Mediawiki:common.css #toc { float: right }
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Ah. Well, yes, I guess. I just figured there would be some far more complicated thing to do, since the TOC appears without my having to add it. Wiping the egg off my face.... :-) Cheers. Fil
On 8 June 2010 11:31, Platonides Platonides@gmail.com wrote:
Filippo A. Salustri wrote:
Hi all, Is there any way to float the table of contents of an article to the
right
and have the article content flow around it? Cheers. Fil Salustri
You mean:
<div style="float: right">__TOC__</div> ?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Not sure if you would want to do this, but if you want the TOC to stop taking up so much room, you can also position it to the top right like this http://wiki.bildr.org/index.php/ADJD-S371_Color_Sensor (look to the right of the title)
-Adam
On Jun 8, 2010, at 5:10 PM, Filippo A. Salustri wrote:
Ah. Well, yes, I guess. I just figured there would be some far more complicated thing to do, since the TOC appears without my having to add it. Wiping the egg off my face.... :-) Cheers. Fil
On 8 June 2010 11:31, Platonides Platonides@gmail.com wrote:
Filippo A. Salustri wrote:
Hi all, Is there any way to float the table of contents of an article to the
right
and have the article content flow around it? Cheers. Fil Salustri
You mean:
<div style="float: right">__TOC__</div> ?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salustri@ryerson.ca http://deseng.ryerson.ca/~fil/ _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org