MediaWiki:Common.css: Difference between revisions

m
trying to fix CSS for tocinline
m (css fixes for tocinline)
m (trying to fix CSS for tocinline)
Line 12: Line 12:
   and not a float, so make a style that "undoes" the change above.
   and not a float, so make a style that "undoes" the change above.
   Then use it like "<div class="tocinline">__TOC__</div>"
   Then use it like "<div class="tocinline">__TOC__</div>"
  This "magic" CSS means toc id inside tocinline will not float.
*/
*/
.tocinline, .toc { display:inline-block };
.tocinline .toc { float: none };