By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,378 Members | 1,383 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,378 IT Pros & Developers. It's quick & easy.

z-index and layers

P: n/a
Hello!

I'm author of a small wiki engine, coded in ANSI-C. A while ago I did
introduce frames, because I wanted to have a fixed application bar at
the top of the page and a scrollable document below. Well, although
this now works very well, it did make the delivery of the now framed
output very complex. Many things had been much easier and much more
straight forward before.

Now I was very happy to see this site:

http://binaervarianz.de/

If you make use of the scrollbar at the right you see, that there are
two elements (tables) which are fixed _AND_ make use of the CCS
parameter "z-index". This way they stay fixed, just the lowest layer
is scrolling away - in my case the wiki page. Now, that I was very
happy about this I wanted to change my wiki to work that way. But
unfortunately it seems to work just in Mozilla 1.5. Internet Explorer
also displays the whole thing, but seem to ignore the z-index, so that
the whole thing is scrolled together.

So now my question: I really would like to just deliver just one page
instead of 2 pages and a frame. Is there any way to make also IE
display this thing in the wanted way?

--
Thanks in advance, Martin Doering
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a


Martin Doering wrote:

Now I was very happy to see this site:

http://binaervarianz.de/

If you make use of the scrollbar at the right you see, that there are
two elements (tables) which are fixed _AND_ make use of the CCS
parameter "z-index". This way they stay fixed, just the lowest layer
is scrolling away - in my case the wiki page. Now, that I was very
happy about this I wanted to change my wiki to work that way. But
unfortunately it seems to work just in Mozilla 1.5. Internet Explorer
also displays the whole thing, but seem to ignore the z-index, so that
the whole thing is scrolled together.


It is not z-index but
position: fixed;
that keeps some elements fixed when the page is scrolled. And position:
fixed; is not supported by IE4/5/5.5/6 on Win, there you would need to
add some script or restructure the page and the CSS to have the same effect.
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

P: n/a
On Mon, 09 Feb 2004 19:09:49 +0100, Martin Honnen <ma*******@yahoo.de>
wrote:
It is not z-index but
position: fixed;
that keeps some elements fixed when the page is scrolled. And position:
fixed; is not supported by IE4/5/5.5/6 on Win, there you would need to
add some script or restructure the page and the CSS to have the same effect.


It seems, that z-index is needed to make shure, that the scrollable
element keeps down under the fixed one.

I now have it nearly working. I just have the problem, that the fixed
element on the right side is partially overwritten by the scrollbar,
while on http://binaervarianz.de this is not the case. And I don't
know why. But I will find a solution for this too.

In the end I'm very happy, that I found a solution to get rid of
working with frames. It did make my wiki engine much more complex as
initially intended.

--
Martin Doering
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.