Login Register

Context Menu in IE cause everything hide

Dojo support a lot of context menus, but my application has error with that in IE (everything is ok with FF). The problem is that when I click the right button to show the menu, the menu itself is ok, but all the other things disappeared leaving the background image of the BODY until next click (no matter left or right button).
This problem seems to be related with the CSS of the BODY. The css of BODY is like this:

body {
background: url(../images/bg1024.JPG) no-repeat;
width:1024px;
height:768px;
}
You can see I set the height and width of the BODY. If I do not set them, everything will disappear. But if I set it to a certain number, the area outside the given zone will disappear.
So now I have to restrict the window to 1024*768 and only in this way it is ok. But I think a window's size should be changable, but my current solution could not solve this.
I think this may have some relationship with z-Index and Filter:alpha, because I set them on my divs. But I am not sure of that.

Can you help me on this? Thank you so much

not sure

but you should try in your css-file:

html, body {
width: 100%;
height: 100%;
}

Well done, it is caused by the DOCTYPE

Thanks for your reply
I found the reason is that I did not read the document carefully:(
in the Dojo book, people mentioned the DOCTYPE problem of BorderContainer with IE
After I remove it,everything is ok