[Tex/LaTex] how to prevent cell color to cover table’s borders

colortbltables

When I change the background color of a cell in a table, the color covers the borders, however I want the horizontal lines to remain.
I have a simple command \cellcolor[gray]{0.9} in my table. Can anybody help me with this problem?

Best Answer

Please always provide a complete small example that demonstrates the problem. If the lines are from \hline then it is not supposed to happen. If they are from \cline then that is amdocumented feature and the colortbl documentation suggests that you try \hhline instead. With the amount of information in the question, it is impossible to say.