I use this code:
\begin{table}[H]
\caption{Offsets 2}
\centering
\begin{tabular}{*{6}{|c}}
\hline\hline
\rowcolor{orange}
student status & location type & outside region & approved outside area (ha) & delivery agent\\ \hline \hline
Current & Restoration & Northwest john Province & 476.0 &
If the position ... \\ \hline
\end{tabular}
\label{table:nonlin}
\end{table}
But the table is going outside the page. Is there any way that page don't go outside the page and shrink accoring to content and fit on page.