when compiling it gave me this error:
! LaTeX Error: Something's wrong--perhaps a missing \item.
my code :
\scalebox{0.8}{\begin{table}[]
\begin{tabular}{|l|l|l|}
\hline
& Actions de mise en conformité à réaliser & \multirow{4}{*}{\begin{tabular}[c]{@{}l@{}}Actions de\\ sensibilisation à\\ destination de\\ l’ensemble des\\ collaborateurs\\ sur des\\ thématiques\\ générales et\\ spécialisées\end{tabular}} \\ \cline{1-2}
\begin{tabular}[c]{@{}l@{}}Tâches à réaliser à\\ court terme\end{tabular} & [courtTerme] & \\ \cline{1-2}
\begin{tabular}[c]{@{}l@{}}Tâches à réaliser à\\ moyen terme\end{tabular} & [moyenTerm] & \\ \cline{1-2}
\begin{tabular}[c]{@{}l@{}}Tâches à réaliser à long\\ terme\end{tabular} & [longTerm] & \\ \hline
\end{tabular}
\end{table}}
it's a 3x4 table with the last column merge Can't figure why
Addendum: If the \scalebox directive is made to encase the tabular environment rather than the table environment, and if the multirow, babel, and fontenc packages are loaded with suitable options, the result is as in the following screenshot:
What should I do to keep the contents of the third column contained with the table?


\scaleboxdirective is made to encase thetabularenvironment rather than thetableenvironment. (The result is a table in which the contents of the third column exceed the space available to them.) Feel free to revert. – Mico Sep 21 '21 at 19:52not in outer par modeerror from\scalebox{0.8}{\begin{table}[? you can not have atableenvironment in a box. – David Carlisle Sep 21 '21 at 21:54