[Tex/LaTex] The space between the table and its caption is very small

captionsspacingtables

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.

The caption is very close to the table, and the following text is so far underneath

Best 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?