I have a problem using the \cellcolor command from the colortbl package. When I color a cell it colors not only the cell but also the cell-lines (top and left).
Code: Select all
\documentclass{article}
\usepackage{rotating}
\usepackage{colortbl}
\usepackage{color}
\usepackage{array}
\begin{document}
\begin{sidewaystable}[h!]
\centering
\begin{tabular}{ | c | c | c | }
\hline
A \cellcolor[gray]{0.8} & B & C \\ \hline
D & E & F \\ \cline{2-3}
G & H \cellcolor[gray]{0.8} & I \\ \hline
\end{tabular}
\end{sidewaystable}
\end{document}
Many thanks,
Dhondtie