{table}
environment, and by using \centering
, but neither has worked for me - obviously I'm doing something wrong?Code: Select all
\documentclass[letter,12pt]{article}
\usepackage{tabularx}
\newcolumntype{z}[1]{>{\raggedleft\arraybackslash}p{#1}}
\begin{document}
\begin{tabularx}{\textwidth}{r|l}
\textbf{\small{100 Main Street}} & \textbf{\small{+1 555.555.5555}} \\
\textbf{\small{New York, NY 10011}} & \textbf{\small{MyEmailAddress@mail.com}}
\end{tabularx}
\end{document}