I've seen related to this problem, but my problem is the output shows mathstyle with italic font instead of textstyle (Not italic).
And then i tried to use \text{...}, but it didn't work and a lot of errors happened.
And what if i get rid the dollar symbol? The tabular will fail.
So, this is my code:
\begin{center}
\begin{tabular}
$\begin{array}{ll}
\text{My Name & : Justin Bieber \\
Class & : VIII D \\
NIM & : 1234567890}
\end{array}$
\end{tabular}
\end{center}
Please help me to fix my code until shows textstyle, tabular set with left justify. Thanks!