I'm a web designer who just knows enough of html and css.
Right now I'm working at home on a new web, it's quite a big proyect using responsive.
and I have spent (of course) many hours making it work for Ie8, ie9 and at least decently visible with 1e7 (ie10 was good enough).
A work mate who knows stuff as Visual basic, wrote for me this little code:
Protected Sub Page_Init(sender As Object, e As System.EventArgs) Handles Me.Init
' Para seleccionar Las CSS que tiene que utilizar el navegador
If HttpContext.Current.Request.Browser.Browser.ToUpper = "IE" Then
LinkCSS.Href = "~/Estilos/estilos_IE.css"
Else
LinkCSS.Href = "~/Estilos/estilos.css"
End If
End Sub
which even myself can uderstand. I just use a different css sheet for ALL versions of IE insteed of the normal one for the rest of browsers.
But after upgrading to windows 8.1.. I have now IE11 and the code above doesn't work anymore (it now uses the default css sheet)
The problem is I need to work quite a few hours today as tomnorrow morning I have to show to our client the web state... in all browsers, I'm trying to phone my mate but I can't reach him (he's already out of work, and can't complain about it).
So, I really hope any of you could tell me an easy way to detect ALL ie's (including ie11) so I can keep working. I'm quite desperate.
ty in advance.
Note: Nope, I can't downgrade to ie10 (not allowed) can't downgrade to windows 8 (unless format PC which is not an option)