c# - z-index is not working with pdf in iframe -
i opening pdf file in page under iframe.it's working fine in other browsers except internet explorer.in internet explorer top menu of page going behid iframe.i tried z-index doesn't work me.can 1 please me? here master page code :
<body> <form id="form1" runat="server"> <div id="wrapper" class="mywrapper"> <!-- navigation --> <!-- fixed navbar --> <nav class="navbar navbar-default navbar-fixed-top" style="position:relative;z-index:2;"> ...... </nav> <div class="row"> <div class="col-md-3"> <div class="navbar-default sidebar" role="navigation"> <div class="sidebar-nav"> ................... </div> <!-- /.sidebar-collapse --> </div> <!-- /.navbar-static-side --> </div> <div class="col-md-9 col-sm-9 col-lg-9" style="background-color: #fff; z-index:1;" > <asp:contentplaceholder id="contentplaceholder1" runat="server"> </asp:contentplaceholder> </div> </div> </form> </body>
here content aspx page
<asp:content id="content2" contentplaceholderid="contentplaceholder1" runat="server"> <br /> <div class="embed-responsive embed-responsive-16by9" style="height:1000px;"> <iframe class="embed-responsive-item" id="pdf" src="abc.pdf" style="position:relative;z-index:1;" ></iframe> </div> </asp:content>
Comments
Post a Comment