This works fine but there is an unexpected fine (1px?) grey line on top of each row. It is a bit darker grey on the even rows than on the odd rows. Interestingly, the line does not appear on a checkbox field (field titled Disp.). See attached image. The line does not come from field border style.
I can’t find out where this grey lines comes from. Anyone having seen this?
Thanks for the hint patrick. There is no such definition in the field style class. I also can’t find it in the browser code, but that is quite hard to get a bit of an overview. Any other idea where I could look at?
From your answer I assume you don’t have (see) these lines on fields and don’t have it on checkbox fields in table view forms?
patrick:
Maybe it comes from the style class applied to text fields? I suggest you open the inspector in the browser and see what style classes are applied.
the top grey line is still there, inside (below) the blue one. So the question ist: what is inside the alternating row and how can I access it? I assume it must be the cell, but don’t know how to style a cell.
patrick:
Maybe it comes from the style class applied to text fields? I suggest you open the inspector in the browser and see what style classes are applied.
As Patrick said, you should look in browser dev tool to see which element has a top/bottom border and where that comes from. Start from input and go up in hierarchy until you find it. Without that cannot help too much. Or, if you have a sample, I can have a quick look.
The problem is that exists a “form-control” class that overwrites the above code.
By using the chrome dev tools, I find out that it’s a bootstrap class.
How can I avoid that this class takes over what I defined on the above code?