Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 5th, 2012  |  syntax: None  |  size: 0.74 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. IE7 CSS z-index issue not apparent on any other browser
  2. #screen {
  3.     display: none;
  4.     background-image: url('/images/bg.png');
  5.     background-repeat: repeat;
  6.     position: fixed;
  7.     top: 0px;
  8.     left: 0px;
  9.     min-width: 100%;
  10.     min-height: 100%;
  11.     z-index: 10000;
  12. }
  13.  
  14. <div id="screen"></div>
  15.        
  16. <div id="r_box">
  17.     <div id="message_panel">
  18.         ...Content in here...
  19.     </div>
  20. </div>
  21.  
  22. #r_box
  23. {
  24.     width: 335px;
  25.     height: 337px;
  26.     background: url("/images/panel.png") no-repeat scroll 0 0 transparent;
  27.     position: fixed;
  28.     margin-left: -150px;
  29.     margin-top: -130px;
  30.     left: 50%;
  31.     top: 50%;
  32.     z-index: 10001;
  33.     display: none;
  34. }
  35.  
  36. #r_box #message_panel {    
  37.     color: #fff;
  38.     z-index: 10001;
  39.     bottom: 95px;
  40. }