Detect and display IE8 to then display an existing IE8 css style sheet with MVC 3 Razor?

Up vote 0 down vote favorite share g+ share fb share tw.

I'm converting a web forms application and in a code behind I see where a guy checked for IE8 browser, then displays that IE8 CSS. If I had the time I would figure out what the differences are, but for now I'm thinking that I would just like a nice clean approach in mvc 3 razor to 1. Check for which browser is used ( namely IE8 ) and then display the appropriate asp.net" rel="nofollow">asp.net css asp.net" rel="nofollow">asp.net-mvc-3 browser-compatibility link|improve this question asked Jun 13 '11 at 21:07Tom Stickel1,078115 84% accept rate.

– Tom Stickel Jun 13 '11 at 21:11 Without seeing the rest of your code, I can't say the best place, but you can use it in your section or your layout. It's standard html, nothing asp.net or mvc specific. – Craig M Jun 13 '11 at 21:13 @Craig Thank you – Tom Stickel Jun 13 '11 at 21:17 You're welcome.

If that does it for you, please click the check to mark this as the answer. :) – Craig M Jun 13 '11 at 21:18 Looking into these conditional statements, can there be an 'else'? – Tom Stickel Jun 13 '11 at 21:19.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions