I am trying to centre the content of this table vertically and horizontally as well to make it look better.
and here is the code I am using
\begin{table}
\caption{Direct vs. indirect trust management steps}
\centering
\label{table:nice_table}
\small
\begin{tabular}{p{3cm} p{4.5cm} p{4.5cm}}
\textbf{Step} & \textbf{Direct trust} & \textbf{Indirect trust} \\
\hline
\textbf{Trust initialization} & Neutral value & Using recommendations
\\
\hline
\textbf{Information collection} & Direct observation & Reputation built by other nodes
\\
\hline
\textbf{Trust calculating} & Trust values stored locally & Trust values are
distributed over the network \\
\hline
\textbf{Decision making} & Made by the node & Made by the node \\
\hline
\end{tabular}
\end{table}
Any help would be appreciated.