GridLines not showing in GridView with CSS reset?

I have a page that contains css reset. On this page, I have a gridview with the attribute GridLines = "Both" equal to true, but the grid lines are not displayed. If I remove css reset, grid lines will appear. This only happens in IE. I want to reset, and I want the grid lines to be displayed. Does anyone know a solution to this?

+3
source share
1 answer

Be sure to call the stylesheet or style that defines the grid lines that appear after the reset stylesheet is called.

Otherwise, make sure that the reset stylesheet does not specify a more specific selector that overrides the styles of the elements for which you want to see grids. There is also nothing stopping you from defining grid lines in the reset-style sheet, just like checking to determine where the override style is defined.

But, as pointed out in a Jab comment on your question, using Firebug would be the fastest way to see where styles come from. If you use IE, then assuming you are on IE8, you can use Firebug , although they call it Developer Tools .

+1
source

Source: https://habr.com/ru/post/1710798/


All Articles