Stretchwickster
Programmer
Hi there,
I've come up with a design in Fireworks which I've tried to implement in XHTML & CSS.
Basically there are two divs which contain "floating text". These elements have IDs of floating_text1 and floating_text2. I've set floating_text1 to have an absolute position on the right-side of the page and have been trying to get floating_text2 to sit on the bottom of/or just below the purple navigation bar on the left side.
I'm having real difficulties with this and have been trying different things to achieve my aim. I thought I'd managed to sort it out by setting its' position as relative and its z-index to 1 (so that it overlays the navigation bar). This works ok in IE but in FF it screws up my "Contact Us" page because, for some reason, it has a large background which sits over the form elements due to the z-index. I have given the two floating text divs a pink background-color just to highlight the problem.
The offending page can be viewed here: contact.htm
And the CSS can be found here: styles.css
By the way, I have only implemented Home, The Teacher and Contact Us pages. Home and The Teacher pages behave in a desirable way but I think this is only because there is a lot more text on each of those pages, so it pushes floating_text2 further down the page away from the navigation bar.
Does anyone know what is causing this and how to rectify it so that it behaves consistently in both browsers?
I've tried removing floating_text2 completely, but then the page height then does strange things.
Any help would be very much appreciated!
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
I've come up with a design in Fireworks which I've tried to implement in XHTML & CSS.
Basically there are two divs which contain "floating text". These elements have IDs of floating_text1 and floating_text2. I've set floating_text1 to have an absolute position on the right-side of the page and have been trying to get floating_text2 to sit on the bottom of/or just below the purple navigation bar on the left side.
I'm having real difficulties with this and have been trying different things to achieve my aim. I thought I'd managed to sort it out by setting its' position as relative and its z-index to 1 (so that it overlays the navigation bar). This works ok in IE but in FF it screws up my "Contact Us" page because, for some reason, it has a large background which sits over the form elements due to the z-index. I have given the two floating text divs a pink background-color just to highlight the problem.
The offending page can be viewed here: contact.htm
And the CSS can be found here: styles.css
By the way, I have only implemented Home, The Teacher and Contact Us pages. Home and The Teacher pages behave in a desirable way but I think this is only because there is a lot more text on each of those pages, so it pushes floating_text2 further down the page away from the navigation bar.
Does anyone know what is causing this and how to rectify it so that it behaves consistently in both browsers?
I've tried removing floating_text2 completely, but then the page height then does strange things.
Any help would be very much appreciated!
Clive
![Runner_1Revised.gif](http://www.eatxp.34sp.com/images/Runner_1Revised.gif)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096