# 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
Since the space is as expected in the article class, you should probably specify which class you're using. –  egreg Jun 5 '12 at 18:26
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
@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

## 1 Answer

You could try

\usepackage{caption}
\captionsetup[table]{skip=10pt}


in your preamble. On another note, have a look at Why should a table caption be placed above the table?

-