[dokuwiki] Re: TOC obscured by text inside code tags

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 23 Oct 2006 13:32:27 +0100

Olivier Lumineau wrote:

hello,
I had noticed this problem too and I already tried this solution which did'nt work...
So I've just retry after I read your message, but confirmation : it's not working !
What is missing to me ??? If you have an idea... :-\


z-index only works on positioned elements. In the default template, neither .toc nor .toc__inside are positioned. Using position is itself enough to promote an element to be rendered in front of all other non-positioned elements.

e.g.

.dokuwiki div.toc {
 position: relative;
}


is probably sufficient. If not you'll need to work out the z-index of the obscuring element and set a z-index value higher. IE6 treats z-index differently from more modern browsers. With IE6 the z-indexes need to be on sibling (positioned) elements for their values to affect each other.


Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: