Template talk:TOCright
Latest comment: 10 years ago by Temptuousinsolence in topic Does not work for me
overlap fix
editHow 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
editTOC remains stuck on the left side:
{{TOC
|clear={{{clear|right}}}
|width={{{width|{{{1|auto}}} }}}
|align=right
|limit={{{limit|}}}
}}