I have an application including an Asp:menu. This renders perfectly in both IE and Firefox, see screenshot gf1.jpg.
Running in Chrome the rendering is bad. There is added wide space in the top menu, so the area is much wider, and thereby not correct. See gf2.jpg.
I have tried using this workaround found by surfing, but it is still the same. Can I add some additional code, that will prevent this?
Code:
If Request.UserAgent.IndexOf("Chrome") > 0 Then
            If Request.Browser.Adapters.Count > 0 Then
                Request.Browser.Adapters.Clear()
                Response.Redirect(Page.Request.Url.AbsoluteUri)
            End If
        End If
I want it to be displayed equally in IE, Firefox and Chrome, please help in this Name:  gf1.jpg
Views: 278
Size:  25.8 KBName:  gf2.jpg
Views: 279
Size:  29.1 KB