It's important to start off by including Eric Meyer’s CSS reset in the initial CSS style you use. This reset is designed to address inconsistencies across browsers, such as default line heights, margins, and font sizes of headings. It adjusts browser defaults without affecting any explicit settings you've applied in your CSS.
One aspect of the "Eric Meyer’s CSS reset" that I find questionable is the following setting:
table { border-collapse: collapse; }
This particular CSS rule appears to have some impact on the jqGrid CSS. To address this, I recommend adding the additional CSS:
.ui-jqgrid table {
border-collapse: separate;
}
By modifying the border-collapse
property within the jqGrid, you can achieve consistent results. You can see a demo of this approach here, which maintains the grid's appearance even with the "Eric Meyer’s CSS reset" applied.