Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- HTML CSS layers problem
June 28, 2008, 6:29 pm
rate this thread
In this page when you click enable flash it replaces the flash with an
I would like the div#download to sit on top of the flash or the image -
which ever is showing. At the moment the Flash and the image appear below
How can I achieve this?
July 2, 2008, 7:28 pm
Re: HTML CSS layers problem
At a glance, i asume you want the movie to sit higher up the page so
it overlaps with the other images etc. including your download div.
To make the div sit over anything it will need to be positioned
absolute with CSS. You could try relative positioning with negative
numbers but i can see that running into problems with different
browsers like FireFox and Opera.
The problem with absolute positioning a div in this situation is that
its actual screen position will change with different users screen
positions the div based on the available screen space. If your site is
left aligned (as it looks) then its not so much of an issue.
Set the CSS style tag of the div with:
Where you replace @@ with the number of pixels you want to place the
You can put a container div around all the divs you want to 'hover' if
you want to keep those in the same relative positions.
Is this what you were trying to achieve?
July 2, 2008, 7:30 pm