0

I am creating an MVC 4 application. The styles are working partially across the browsers. However i set this working good for IE. But many styles which works well in IE are failing in Mozilla. I have the following code in my _Layout.html.

<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <!--[if IE]>@Styles.Render("~/Content/common.css")<![endif]-->
    <!--[if !IE]>@Styles.Render("~/Content/MozSite.css") <![endif]-->
    @Scripts.Render("~/bundles/jquery")
    <script src="~/Scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>
</head>

when i load FF, it is not picking the MozSite.css. How do i load this FF dynamically?

Bheema
  • 3
  • 1
  • 5

0 Answers0