# How to eliminate unnecessary page break in LaTeX?

I have couple of lines (text) followed by table. I want both the text and table to appear in same page, now text appears in one page and table in next page. How to change it? I have tried using \vspace{-5cm}but of no use, is there a better way?

Example:

\chapter{bbbb : aaaa}
\label{cccc}

\begin{footnotesize}
\sf
\section{eeee}
\label{fffff}

\#Print Out Time:          3/15/2010 2:06:07 PM
\\
\#Ref:                     xyz
..............

\begin{tabular}{lllrl}
........

\end{tabular}
-
Have you tried using \nopagebreak between your tabular and the text? – Werner Aug 24 '11 at 19:51
You can try wrapping both of them in a samepage environment, or if that fails, in a minipage environment. – Aditya Aug 24 '11 at 21:46
The placins package provides the \FloatBarrier command, which could be useful – cmhughes Aug 25 '11 at 7:33