How to rid of empty div that contains a GridView

前端 未结 8 843
时光说笑
时光说笑 2021-01-11 18:21

In ASP.NET Gridviews generate a table which generates a parent div container. This can break CSS layouts since there is no way to attach styles to the generated div. Is ther

8条回答
  •  清歌不尽
    2021-01-11 18:56

    You could define an explicit CssClass for your Gridviews to make use of.

    
    

    Then define a css class:

    .nameOfStyleClass 
    {
        < Style stuff >
    }
    

提交回复
热议问题