Link to home
Start Free TrialLog in
Avatar of Adam Ehrenworth
Adam EhrenworthFlag for United States of America

asked on

Transparent DIV in IE8

I have a DIV with an iframe that is displaying as partially transparent in Internet Explorer 8 no matter what parameters I adjust. It displays fine in Chrome and Firefox.

<!-- Modal -->
<div class="modal" id="MeetingModal" tabindex="-1" role="dialog" aria-labelledby="modalMeetingLabel" aria-hidden="true" style="margin-left:-30%; position:absolute; background-color:white; left: 50%; top: 10%; -moz-opacity: 1;opacity:1;filter: alpha(opacity=70);">
 <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header" >
      <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>              
        <h4 class="modal-title" id="AddMeetingLabel">Add Meeting</h4>
      </div>
      <div class="modal-body" style="left: 0px; top: 0px;height:600px; background:white">
          <iframe id="iFrameMeeting" frameborder="0" allowtransparency="false" marginwidth="1" marginheight="1" height="400px" width="100%" scrolling="no"></iframe>  
      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

Open in new window


It is being opened using the function

function LoadMeetingModal(){
    $('#iFrameMeeting').attr("src", "/prd/hcctesting/Pages/pharmslt_new.aspx");
	//$('#iFrameNewMitigation')[0].contentWindow.location.reload(true);
    $('#MeetingModal').modal('show');
}

Open in new window


What CSS reference or code do I need to adjust to get his to be 100% opaque (0% transparency).
ASKER CERTIFIED SOLUTION
Avatar of Russ Suter
Russ Suter

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just as a matter of interest - IE 8 is long dead why are you worrying about it?
Avatar of Adam Ehrenworth

ASKER

Work for a company where IE8 is still a standard platform because of legacy tools.  Google chrome has been introduced as an alternative but because of our size we have not yet been able to make it the standard default on all machines so we need to make sure we code for issues associated with IE8 at least for another year... it is very frustrating.