I want to make a table that has a fixed with and a row color. We all know that when you make a fixed width column, we need to add
@{\\extracolsep{\\fill}}
to actually fill the table. When I do this, the \rowcolor
fills my table with blank white space.
Code: Select all
\begin{center}
\begin{tabular*}{5in}{| @{\extracolsep{\fill}} l | @{\extracolsep{\fill}} l | @{\extracolsep{\fill}} l | @{\extracolsep{\fill}} l |}
\rowcolor{tablecolor}
\hline
Review Date & Name & Position & Action \\
\hline
March 12,2012 & Man 1 & Manager & Accepted \\
& Man 2 & Manager & Accepted \\
\hline
\end{tabular*}
\end{center}
\rowcolor
fill the entire row in the table.