[英]How can I spot why the CSS not working in Razor View (model)?
I have build an web application, and I want to delete some record in the database using ASP.NET MVC.我已经构建了一个 web 应用程序,我想使用 ASP.NET MVC 删除数据库中的一些记录。 But, in the delete Razor View, the CSS is not working, so the page is like this 1 .
但是,在 delete Razor 视图中,CSS 不起作用,所以页面是这样的1 。 This is the Delete Page of my application 2 .
这是我的应用程序2的删除页面。 I wonder if there are any solutions for this problem.
我想知道是否有解决此问题的方法。 Thank you in advance.
先感谢您。
Check this document describe col-sm
, and as i notice the CSS classes that you have been used were marked with red, so maybe the version of bootstrap doesn't contain those classes.检查此文档 describe
col-sm
,正如我注意到您使用的 CSS 类被标记为红色,所以可能引导程序的版本不包含这些类。
the reference:https://www.w3schools.com/bootstrap/bootstrap_grid_examples.asp参考:https://www.w3schools.com/bootstrap/bootstrap_grid_examples.asp
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.