Arqueete
09-15-2004, 08:51 PM
I have a div with my content in it, and a div with my navigation. Navigation div is supposed to be overlapping the main div a little bit. All was well before, when I had the navigation div after my main div, unfortunately, how I had the navigation positioned, when the page became too long the navigation would be halfway down the page, and in my opinion its not good to have to scroll down to get to the navigation.
I've given the navigation z-index 1 and the main div z-index -1 but it doesn't seem to be doing anything, unless I'm using it incorrectly.
Anyway, in summary:
Putting the navigation div after the main div and positioning it from there doesn't work well, unless you can suggest a better way to position it. (I'd try absolute positioning, which I was trying in the beginning, but I have difficulty making IE and FF display things the same that way.)
z-index doesn't seem to be helping, unless I'm doing it wrong
The page where I'm testing this is at http://www.stellmond.com/test/rules.php
Any suggestions you could offer are appreciated, but I'd prefer that, if you decide to post the corrected styles, you also offer an explination of why your code works as opposed to mine. In the past others haven't done this, and I like having my page look as I like, but I don't like not knowing why it has ended up that way.
I've given the navigation z-index 1 and the main div z-index -1 but it doesn't seem to be doing anything, unless I'm using it incorrectly.
Anyway, in summary:
Putting the navigation div after the main div and positioning it from there doesn't work well, unless you can suggest a better way to position it. (I'd try absolute positioning, which I was trying in the beginning, but I have difficulty making IE and FF display things the same that way.)
z-index doesn't seem to be helping, unless I'm doing it wrong
The page where I'm testing this is at http://www.stellmond.com/test/rules.php
Any suggestions you could offer are appreciated, but I'd prefer that, if you decide to post the corrected styles, you also offer an explination of why your code works as opposed to mine. In the past others haven't done this, and I like having my page look as I like, but I don't like not knowing why it has ended up that way.