Template talk:TOCright

From MediaWiki.org
Jump to navigation Jump to search

overlap fix[edit]

How can this template be fixed so text on the left of it doesn't overlap the TOC, as on my user page? -Eep² 03:32, 29 July 2007 (UTC)

Maybe simplify the style. On my MediaWiki I style all TOCs to float right by putting this into my wiki's MediaWiki:Common.css:
/* TOC float right */ #toc {float:right;border:none;border-left:1.5em white solid;border-bottom:1em white solid;background:#fff3d2;}
Example page: http://wikigogy.org/User:Roger
--Rogerhc 06:39, 6 August 2007 (UTC)
Broken HTML is not a good starting point. Eep's user page has two opening table tags and only one closing table tag right now. Not kosher. Also remove the width attributes from the table that the TOC is floated to right of or else use regular text instead a table there. This should fix the overlapping text. I show what does and doesn't work on User:Rogerhc/TOC_overflow. Cheers, --Rogerhc 05:05, 7 August 2007 (UTC)

Does not work for me[edit]

TOC remains stuck on the left side:

|width={{{width|{{{1|auto}}} }}}

--Temptuousinsolence (talk) 12:28, 10 November 2014 (UTC)