It would be better to have the panel that slides in position absolute, sliding in over a static positioned content area. But the way you have it (with the main content on the page position absolute) can work out. But in IE position absolute alone isn't enough (it is in FF, Opera, others) to take an element out of the flow of the page . To do that in IE, you also have to specify the top and left coordinates:
Code:
#content {
float:left;
position:absolute;
margin-left:50px;
z-index:1;
top:0;
left:0;
}
I used 0, but you could specify like 12px, or whatever.
Floating an absolutely positioned element is likely to have no effect, or to have uneven effects in various browsers.
Bookmarks