View Single Post
  #1 (permalink)  
Old January 20th, 2007, 04:59 AM
rturner003 rturner003 is offline
Registered User
 
Join Date: Oct 2006
Location: Cheltenham, , United Kingdom.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Firefox - iframe and asp:menu

I have built an asp.net page using a master page as a header. The master page contains the asp:menu control.

The main page shows a iframe. The iframe is added dynamically to a placeholder and shows pdf files. The problem that I have is in Firefox the drop down menu options are hidden behind the iframe; in IE the menu options show properly.

s you can see I did add a z-index to the code but it made no difference.

strHTML = "<iframe id='ifrReport' z-index='-100000' style='width:100%;height:650px;' src='pdfs/"+ strReportFile + "'></iframe>";
//add iframe to previously defined placeholder
plhIFrame.Controls.Add(new LiteralControl(strHTML));

Has anyone any idea how to overcome this problem?

Thanks
Robert