Click here to Skip to main content
16,017,954 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new to MVC I want To apply my CSS with layout page if i link my css file which is not work with IE,but work in chrome , also if i write the same css in the page then it works fine with IE.

i don't know what is the issue. even if i used asp.net syntax then it works fine with IE.


Thanks
Posted

1 solution

Configure your CSS files in layout like this..

HTML
<link href="@Url.Content("~/Content/themes/DefaultTheme/Site.css")" rel="stylesheet" type="text/css" /> <head> </head>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900