Kindly please help me soon, I must submit my paper as soon as possible and still there is a problem and white space and though I used htp for table, my table come between the text! also, I've searched a lot and still have this problem, after a long table there is a white space that the section can be in that space. My LaTeX code is as below:
\documentclass{cta-author}
\usepackage{natbib}
\usepackage{longtable}
\usepackage{lineno,hyperref}
\usepackage{lineno}
\usepackage{parskip}
\usepackage[utf8]{inputenc}
\usepackage{framed} % Framing content
\usepackage{multicol} % Multiple columns environment
\usepackage{textcomp}
\usepackage[T1]{fontenc}
\usepackage{resizegather}
\usepackage{booktabs}
\usepackage{bm}
\usepackage[font=small,skip=0pt]{caption}
\usepackage{setspace}
\begin{document}
{text}
\subsection{text}
\begin{table}[!t]
\caption{text1}
\label{table1}
\centering
\resizebox{0.48\textwidth}{!}{%
%{\small \begin{center}
\begin{tabular}{|l|}
%\begin{longtable}{l}
% \centering
\toprule\toprule
{text}
\bottomrule\bottomrule
\end{tabular}
}
\end{table}
\begin{table}[h]
\caption*{\raggedright Continuation of Table \ref{table1}:}
\label{table2}
\centering
\resizebox{0.48\textwidth}{!}{%
\begin{tabular}{|l|}
\toprule\toprule
{text3}
\end{tabular}}
\vspace{-5pt}
\end{table}
\section{Simulation Results}
\label{section 2}
{text}
\\
\raggedbottom
\begin{table}[htp]
\caption{Simulation}
\label{Table4}
\centering
\begin{spacing}{1.5}
\small\addtolength{\tabcolsep}{-15pt}
\begin{tabular}{l c}
\toprule\toprule
{text5}
\bottomrule\bottomrule
\end{tabular}
\end{spacing}
\vspace{-10mm}
\end{table}
{text}
\end{document}

\vfillinstruction before\section{Simulation Results}? Please also do reveal which document class you employ and what happens if you move\raggedbottomto the preamble, so that the directives applies to the entire document? – Mico Oct 28 '19 at 09:21\\after the section text is wrong and presumably generates warnings. – David Carlisle Oct 28 '19 at 09:22\tabcolsepis6pt; setting it to-9pt(via the instruction\addtolength{\tabcolsep}{-15pt}) is likely to create major typographic malfunctions. – Mico Oct 28 '19 at 09:26[h]you are explicitly banning the default[t]position so not allowing the table to be placed at the top of a page with text below. – David Carlisle Oct 28 '19 at 09:38cta-author.clsis not in the standard distributions, and you have provided no link to it, so can not run your example. Can you demonstrate the problem usingarticleor give a link to the class. – David Carlisle Oct 28 '19 at 10:39[twocolumn]{article}it gives the error! Misplaced \noalign. \bottomrule ->\noalignand no output. – David Carlisle Oct 28 '19 at 10:42\\before it. If you can not demonstrate the problem with an error-freearticleclass document, at least give a link to this class and provide an example document that shows the space problem with no errors. – David Carlisle Oct 28 '19 at 11:15