Forum: Ruby on Rails CSS question: div cover another div on AJAX

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Human D. (Guest)
on 2006-02-04 23:07
(Received via mailing list)
I have a simple question, how to prevent a div to be covered by another
When I use AJAX the footer div of my page cover the rendered div, how
should I prevent it?
I used both: position:fixed; and the position:relative;
The first cover some text from the bottom of page and the other does
not work always.

Thanks in advance,
- H
Peter (Guest)
on 2006-02-05 16:28
Just use 'z-index:20;' for example in youre stylesheet for the div.
The higher the number the closer the object is to you on the screen.

So z-index:100; floats over every object as long as you don't have a
higher index.

Hope this helps.
This topic is locked and can not be replied to.