[Tex/LaTex] Create a table with three columns above two columns

tables

I'm making a document header (full width of page) for which I would like three columns on the first row and two in the second. The tricky part (I think) is that I would like the bottom two cells to take up half the width of the table each (i.e. not a split of 2 then 1 cells as I've got in the example.) I've got something close to what I want, but the extra padding is being added on the left of the cell contents, I would like it on the right. Then also have the bottom row as described.

\documentclass[a4paper,10pt]{article}
\begin{document}

\begin{center}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}|l|l|l|}
  \hline
  Date: 16/12/11&Ref:  Title&Rev: No.\\
  \hline
  \multicolumn{2}{|l|}{Author: Author Name} & \multicolumn{1}{l|}{Client:
  Company Name}\\
  \hline
\end{tabular*}
\end{center}

\end{document}

Best Answer

You can use two tabular-like environments; in the first example below I kept the vertical rules; in the second one I removed them and used the features provided by the booktabs package:

\documentclass[a4paper,10pt]{article}
\usepackage{booktabs}
\usepackage{tabularx}

\begin{document}

\noindent\begin{tabularx}{\textwidth}{|X|X|X|}  \hline
  Date: 16/12/11 & Ref:  Title & Rev: No.\\  
\end{tabularx}\offinterlineskip

\noindent\begin{tabularx}{\textwidth}{|X|X|}  \hline
  Author: Author Name & Client:  Company Name\\ \hline
\end{tabularx}

\vspace{1cm}

\noindent\begin{tabularx}{\textwidth}{@{}XXX@{}}  \toprule
  Date: 16/12/11 & Ref:  Title & Rev: No.\\  
\end{tabularx}\offinterlineskip

\noindent\begin{tabularx}{\textwidth}{@{}XX@{}}  \midrule
  Author: Author Name & Client:  Company Name\\ \bottomrule
\end{tabularx}

\end{document}

enter image description here