Wednesday, July 22, 2009

Blog created.

I have created this blog with the purpose of simply documenting all of the strange bugs/fixes that I run into while developing websites.

Some of the current bugs I am working with are:

1. IE 6 and 7 z-index issues with layering elements.
There are many different solutions or hacks to work around this issue. For IE6 and 7 I simply cloned the elements from the DOM, appended them to the body and absolutely positioned them to their correct location. Since they were lower on the DOM, IE6 and 7 gave them a higher Z-index.
Another approach is to use iFrames behind the content you want to display on top. This option isn't something that is W3 XHTML 1.0 Strict complient but it works.

2. ASP.net menu control failure in IE8 and Google Chrome.
The answer to this was posted on google, you simply add the following code to the Page_Load method of your master page:


if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
{
Request.Browser.Adapters.Clear();
}

Source: Here

No comments:

Post a Comment