I have the following code:
\section{Database Design}
\begin{center}
\begin{table}
\begin{tabular}{ | l | l |}
\hline
Field & Type \\ \hline
id & Primary key \\ \hline
firstName & String \\ \hline
lastName & String \\ \hline
email & String \\ \hline
password & String \\ \hline
\end{tabular}
\caption{User}
\end{table}
\end{center}
There are a few alignment problems:
- The table seems to be floating top left above my section
- My caption is centered and out of line with the table
How can I center my table and have it placed below my 'Database Design' section?
