javascript - Make Background Black for screen other than popup div -


I have the following div that I'm showing as a popup:

  lt; Div id = "divoperationmessage" style = "background-color: white; border: 2px solid black; display: block; width: 350px; z-index: 1001; top: 60px; left: 240px; condition: fixed; padding-left : 10px; margin: auto; "& gt; Whatever the content inside ---------------------------- - & lt; / Div & gt;   

When shown, I can easily see the second part of the screen in the main background.

View it as below:

Enter image details here

(The entry update has successfully popped up the division)

I want to black it ..

How do I Can i black

I tried to set Opacity from 0.75 ... but with the wrong intention ... I did not solve my purpose ..

What can I do for it? ???

Please help me

Ok here goes!

  & lt; div style = "height: 100%; width: 100%; position: full; top: 0; left: 0; background color: # 000000; display: none;" & gt; & Lt; Div id = "divoperationmessage" style = "background-color: white; border: 2px solid black; display: block; width: 350px; z-index: 1001; top: 60px; left: 240px; position: fixed; padding - left : 10px; margin: auto; "& gt; Whatever the content inside ---------------------------- - & lt; / Div & gt; & Lt; / Div & gt;   

I hope it helps!

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -