# The space between the table and its caption is very small

I have a table written like this:

\begin{table}
\centering
\begin{tabular}{|l||c|c|}
\hline&Column 1&Column 2\\
\hline\hline
cell1 & cell2 & cell3 \\
\hline
cell1 & cell2 & cell3 \\\hline
\end{tabular}
\caption{A test caption}
\label{tab:attempt1}
\end{table}


Now the caption is VERY NEAR the table.. Additionally, there's a big vertical white space after the caption... How can I fix that to look like any normal table with a caption?

This is the case only with tables, figures are working fine.

-
This is not the default behaviour. Which packages are you using and what \documentclass? – Werner Jun 5 '12 at 18:25
how about \usepackage{caption} \captionsetup[table]{skip=10pt}? – cmhughes Jun 5 '12 at 18:26
It appears that you must have some code or package that affects this that you are not showing. Please always supply a complete document that shows the problem. article class puts a skip of size \abovecaptionskip above the caption, and sets this length to 10pt, so you should get at least that spacing. But you may be using a different class. – David Carlisle Jun 5 '12 at 18:29
in the ams document classes, it is expected that captions for tables will be placed above the table, and for figures, below the figure, and space is inserted accordingly. if the captions are placed in the "opposite" position (below tables or above figures), no intervening space is provided. so identifying the document class you are using is essential. – barbara beeton Jun 5 '12 at 18:42
@cmhughes You should turn your comment into an answer. Also the following link might be useful to add to the answer: Why should a table caption be placed above the table? – Alan Munn Jun 5 '12 at 18:42

\usepackage{caption}