小编Abh*_*nav的帖子

如何在 MVC5 中使用 grid.mvc 和 bootstrap 创建的网格中添加列分隔符?

我已经在 MVC5 中创建了网格,例如

图 1.


但我想要一条垂直线作为列分隔符

图 2


我正在使用 nugget 包的 grid.mvc(版本:3.0.0)和 VS2013(M​​VC5) 的默认引导程序。


这是我的 Gridmvc.css

/***
*   Grid.Mvc stylesheet http://gridmvc.codeplex.com/
*   This file contains default styles for Grid.Mvc.
*/
/* Grid */
table.grid-table { margin: 0; }
    table.grid-table .grid-wrap { padding: 0; position: relative; }
    table.grid-table .grid-empty-text { color: #666; }

    /* Grid headers */
    table.grid-table .grid-header { position: relative; }
        table.grid-table .grid-header .sorted-asc .grid-sort-arrow:after { content: " \2193"; }
        table.grid-table .grid-header .sorted-desc .grid-sort-arrow:after { content: " \2191"; }
        table.grid-table .grid-header > …
Run Code Online (Sandbox Code Playgroud)

asp.net-mvc visual-studio-2013 asp.net-mvc-5

1
推荐指数
1
解决办法
3338
查看次数