Is there a way to create a fixed position window (a transparent Div?)centered in the browser window that is surrounded by expanding Divs? This would be to create a window with content scrolling underneath presumably on a lower Z-Index.
SuzyUK came up with an interesting solution on Webmaster World that pushes the surrounding divs off from the fixed center with CSS margin values.
http://www.webmasterworld.com/css/4275625.htm
I found this to suit my needs except for one issue: I would like to put a header and footer with links within the transparent center div. It seems that it does not want to acknowledge the links in the header and footer.
Any help would be appreciated.
Upon putting a header at the top of the middle window and a footer at the bottom and placing links inside, I was able to navigate to their destinations without a problem.
Update: By adding the
pointer-eventsproperty to both#headerand#footerand setting the value toauto, the links become clickable. See the example here: http://jsfiddle.net/Skooljester/6pmNQ/