Wednesday, March 21, 2012

Ajax Accordion invisible in Firefox

I have an Accordion control that looks and works great when viewed with IE6 and IE7, but is completely invisible when the page is viewed in Firefox (1.0 and 2.0). Has anyone had this problem before? I found several posts in the archive that discussed browser problems but they were with earlier versions of Ajax (Atlas) and it usually seemed the other way around (Firefox worked but IE6 and IE7 had problems).

Any thoughts on how to fix this? Thanks in advance for any help in solving this. Here is my Accordion code:

<cc1:Accordion ID="Accordion1" runat="server" SelectedIndex="0"
HeaderCssClass="accordionHeader" ContentCssClass="accordionContent"
FadeTransitions="true" FramesPerSecond="40" TransitionDuration="250"
AutoSize="Fill" Height="450px" RequireOpenedPane="false" SuppressHeaderPostbacks="true"
style="position:absolute; top:200px; left:10px;">

Solved it myself. The Accordion was placed within a div thathad a z-index problem. When I removed the Accordion from the div,it worked fine in Firefox as well as IE.

No comments:

Post a Comment