100问
@Html.Raw(ViewBag.NavBar)
MVC中的Html.Raw是什么:
Css中的!important,以下实例说明使用!important的css定义是拥有最高的优先级的
显示蓝色
<style type="text/css"> .testClass{ color:blue !important; } </style> <body> <div class="testClass" style="color:red;"> 测试Css中的Important </div> </body> </html>